$30 off During Our Annual Pro Sale. View Details »

Mobile Image Processing at Velocity SC, 2015

Mobile Image Processing at Velocity SC, 2015

Loading images isn’t as simple as you think. We often discuss image weight and download time, but mobile devices deal with many other challenges, such as decode times in underpowered CPUs, limited CPU/GPU transfers, and memory consumption. In this talk we’ll explain those limitations, their impact, and how you can best handle them on your own site.

Presented at Velocity SC 2015 in Santa Clara, CA on May 29, 2015.

Tim Kadlec

May 29, 2015
Tweet

More Decks by Tim Kadlec

Other Decks in Technology

Transcript

  1. R: 65 G: 47 B: 35 A: 1 R: 26

    G: 26 B: 29 A: 1 R: 30 G: 29 B: 32 A: 1
  2. “…25% of new Android phones have only 512MB of RAM.”

    Jen Fitzpatrick VP of product management for Google Maps
  3. (600 x 600 - 550 x 550) x 4 =

    230,000 wasted bytes
  4. (200 x 200 - 150 x 150) x 4 =

    70,000 wasted bytes 230,000 wasted bytes
  5. 4

  6. 4 4

  7. 4

  8. 4 2

  9. 4

  10. 4 1

  11. 4

  12. 4 2

  13. (W x H x 3) - (W x H x

    SUBSAMPLE_LEVEL x 2)
  14. “…as bandwidth grows, and as processing power grows, and as

    browsers get better we just keep filling everything up. ” Jeff Veen
  15. RESIZE IMAGES 1 2 META VIEWPORT IS YOUR FRIEND 3

    SMALL BREAKPOINTS FOR LARGE IMAGES
  16. RESIZE IMAGES 1 2 META VIEWPORT IS YOUR FRIEND 3

    USE 4:2:0 SUBSAMPLING 4 SMALL BREAKPOINTS FOR LARGE IMAGES