saket / telephoto

Building blocks for designing media experiences in Compose UI
https://saket.github.io/telephoto/
Apache License 2.0
996 stars 32 forks source link

HDR images #109

Open saket opened 2 weeks ago

saket commented 2 weeks ago

Find out if SubSamplingImage() needs any special handling for HDR images.

saket commented 2 weeks ago

Nothing to be done here. HDR gain maps are automatically read by the system as long as it's turned on for the Activity's Window: https://developer.android.com/media/grow/ultra-hdr/display

saket commented 2 weeks ago

Actually, telephoto does not expose the underlying bitmap so it'll either need to expose an API for reading the gain map or do it automatically for all apps by default.