~/talk

A Picture Is Worth A 1,000 ... Lines? Devs?: Get the full picture (on image loading) with Coil

Talkat Droidcon London 2023 · 2023-10-26..10-27· [android, web-performance]
slides:none on file

Coil implements a concrete fetch‑decode‑transform pipeline that replaces the three naive lines of code by using an OkHttp LRU disk cache plus Okio buffering to avoid repeated network requests, a URI fetcher, and coroutine dispatchers for IO. Decoding uses bitmapFactory.inJustDecodeBounds to read dimensions, EXIF rotation to orient images, downsampling (powers‑of‑two) to avoid OOM, RGB_565 to trade quality for speed, and converts hardware bitmaps to software when transformations are needed — a working pipeline that reduces memory and network cost.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:51Image loading libraries overview
  3. 8:54Why image libraries exist
  4. 10:39Coil API high-level overview
  5. 14:13Mappers and fetchers in Coil
  6. 17:41Fetching and caching process
  7. 21:53Decoding images efficiently
  8. 26:30Handling EXIF data and orientation
  9. 30:00Scaling and configuration options
  10. 36:00Image transformations
  11. 39:09Key takeaways and summary
~/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.