Image Decoder Decoder
A Decoder that uses ImageDecoder to decode GIFs, animated WebPs, and animated HEIFs.
NOTE: Animated HEIF files are only supported on API 30 and above.
Parameters
context
An Android context.
enforceMinimumFrameDelay
If true, rewrite a GIF's frame delay to a default value if it is below a threshold. See https://github.com/coil-kt/coil/issues/540 for more info.
Constructors
ImageDecoderDecoder
Link copied to clipboard
fun ImageDecoderDecoder()
Content copied to clipboard
ImageDecoderDecoder
Link copied to clipboard
ImageDecoderDecoder
Link copied to clipboard
fun ImageDecoderDecoder(context: Context, enforceMinimumFrameDelay: Boolean)
Content copied to clipboard