~/talk

Image Alchemy: Efficient Processing of Images

Talkat droidCon NYC 2018 · 2018-08-27..08-28· [android]
links:none on file
slides:none on file

Covers concrete fixes: use decoder sampling + one final scaled copy to avoid allocating two full bitmaps (12MP → ~48MB heap), handle EXIF orientation and copy metadata instead of re-encoding, and prefer lossless block ops via JPEGtran when rotating or cropping. Native libs like libjpeg-turbo enable non-power-of-two downsampling and streaming to avoid Java heap crashes. Measure quality with MS-SSIM; Mozilla JPEG encoder yields ~15% smaller files at equal quality; AVIF can reach ~1/3 the JPEG size. Example API: request JPEG ≤2000px, quality 85, library picks lossless or best encoder automatically.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:09Why image preprocessing matters
  3. 6:28Efficient resizing techniques
  4. 10:18Handling image metadata
  5. 13:04Color profiles and compatibility
  6. 14:28Questioning the approach
  7. 15:10Understanding JPEG compression
  8. 16:35Minimizing re-encodings
  9. 18:42Native code challenges
  10. 19:23Adding overlays and edits
  11. 21:32Measuring image quality
  12. 25:26Exploring HEIF and AVIF
  13. 28:34Future-proofing image pipelines
  14. 29:59Introducing the image library
  15. 33:11Summary and additional resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.