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

High Performance Images - Internetdagarna Stockholm 2015, 20151123

High Performance Images - Internetdagarna Stockholm 2015, 20151123

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 Internetdagarna Stockholm 2015: http://internetdagarna.se/program/faster_than_lightning/

Tobias Baldauf

November 23, 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
    stevesouders.com/blog/2015/05/12/hero5image5custom5metrics
    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. 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
    guypo.com/introducing/lqip/low/quality/image/placeholders
    code.facebook.com/posts/991252547593574/the7technology7behind7preview7photos
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 21

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  27. "Standards)are)like)sausages:)it's)be3er)
    not)to)see)them)being)made."
    —)Lea$Verou,$CSS$Secrets
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 27

    View Slide

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

    View Slide

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

    View Slide

  30. cjpeg&dssim
    github.com/technopagan/cjpeg1dssim
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 30

    View Slide

  31. Adept
    github.com/technopagan/adept1jpg1compressor
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 31

    View Slide

  32. MSSS
    github.com/technopagan/mss1saliency
    Maximum'Symmetric'Surround'Saliency'Algorithm
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 32

    View Slide

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

    View Slide

  34. 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. Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 39

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide