Closed antailyaqwer closed 3 months ago
I think this is best implemented as an external library to Coil since it could be implemented with a custom Decoder.Factory
and doesn't require access to Coil's internals. HEIC is a complex format and adding support for it on all of Coil's platforms would be a large task.
Is your feature request related to a problem? Please describe. In skia (as well as in skiko) HEIC format doesn't supported. This leads to incorrect flow on modern ios devices for image rendering (for example, custom media picker).
My idea is to add support of it inside a library.
Describe the solution you'd like I have a simple workaround of this problem: convert heic image to jpeg. My solution isn't elegant enough as I don't have access to coil internal methods. I think there is a better way to support it