Upgrade to Pro — share decks privately, control downloads, hide ads and more …

High Performance Images - Berlin WebPerf Meetup 20151027

High Performance Images - Berlin WebPerf Meetup 20151027

Today's average website is 62% pure image data. We use images to convey emotion, elicit an action or simply to amuse our peers. They show holiday photos, pie charts or animated cats.

To the unitiated, nothing much has changed since the JPEG file format was standardized in 1992 and GIFs became capable of showing multiple frames of cat mischief.

But under the hood, the complex realm of raster and vector images is ever changing: new encoders use cues from the fields of computer vision and machine learning to optimize image data, old formats learn new tricks and completely new image formats try to take the stage.

To deliver a great user experience, we need to learn to create high performance images and implement an image management strategy: leveraging the ideal image file formats and use advanced techniques to handle the challenges of responsive designs and situational performance.

High performance images increase the perceived performance of your website, improve the user experience and drive conversions.

-------------------

This is the slide deck version of my talk "High Performance Images" as given at the Berlin Web Performance Meetup at 20151027: http://www.meetup.com/de/Berlin-Web-Performance-Group/events/225722896/

Tobias Baldauf

October 27, 2015
Tweet

More Decks by Tobias Baldauf

Other Decks in Technology

Transcript

  1. High%Performance%Images
    Tobias%Baldauf%7%@tbaldauf
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 1

    View Slide

  2. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 2

    View Slide

  3. Hero%Images
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 3

    View Slide

  4. Hero%Image%Delay%-%HID
    h"p:/
    /www.stevesouders.com/blog/2015/05/12/hero9image9custom9metrics/
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 4

    View Slide

  5. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 5

    View Slide

  6. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 6

    View Slide

  7. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 7

    View Slide

  8. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 8

    View Slide

  9. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 9

    View Slide

  10. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 10

    View Slide

  11. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 11

    View Slide

  12. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 12

    View Slide

  13. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 13

    View Slide

  14. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 14

    View Slide

  15. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 15

    View Slide

  16. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 16

    View Slide

  17. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 17

    View Slide

  18. Tools
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 18

    View Slide

  19. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 19

    View Slide

  20. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 20

    View Slide

  21. LQIP
    h"p:/
    /www.guypo.com/introducing3lqip3low3quality3image3placeholders/
    h"p:/
    /code.facebook.com/posts/991252547593574/the9technology9behind9preview9photos/
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 21

    View Slide

  22. SQIP
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 22

    View Slide

  23. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 23

    View Slide

  24. JPEG
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 24

    View Slide

  25. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 25

    View Slide

  26. JPEG%XR
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 26

    View Slide

  27. mozjpeg
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 27

    View Slide

  28. To#measure#dissimilarity:
    DSSIM
    /
    /github.com/pornel/dssim
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 28

    View Slide

  29. PYSSIM
    /
    /github.com/jterrace/pyssim
    supports'complex'wavelet'structural'similarity
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 29

    View Slide

  30. cjpeg&dssim
    h"p:/
    /github.com/technopagan/cjpeg3dssim
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 30

    View Slide

  31. Adept
    h"p:/
    /github.com/technopagan/adept3jpg3compressor
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 31

    View Slide

  32. MSSS
    h"p:/
    /github.com/technopagan/mss3saliency
    Maximum'Symmetric'Surround'Saliency'Algorithm
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 32

    View Slide

  33. Adept
    h"p:/
    /github.com/technopagan/adept3jpg3compressor
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 33

    View Slide

  34. AIC
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 34

    View Slide

  35. h"p:/
    /quasimondo.com/ZorroSVG/
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 35

    View Slide

  36. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 36

    View Slide

  37. JPEG%XT
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 37

    View Slide

  38. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 38

    View Slide

  39. jpeg%[email protected]%stu2gart.de
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 39

    View Slide

  40. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 40

    View Slide

  41. Compress(JPEGs(with(mozjpeg(today
    Enhance'it'with'cjpeg.dssim'or'Adept'accordingly
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 41

    View Slide

  42. Follow%JPEG%XT%development%and%deploy%ASAP
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 42

    View Slide

  43. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 43

    View Slide

  44. Tobias'Baldauf
    @tbaldauf
    who.tobias.is
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 44

    View Slide