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 full-size slide

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

    View full-size slide

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

    View full-size slide

  4. Hero%Image%Delay%-%HID
    stevesouders.com/blog/2015/05/12/hero5image5custom5metrics
    Tobias'Baldauf'-'@tbaldauf'-'who.tobias.is 4

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size 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 full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size 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 full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide