AnimatedImageDecoder
class AnimatedImageDecoder(source: ImageSource, options: Options, enforceMinimumFrameDelay: Boolean = SDK_INT < 34) : 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
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
Link copied to clipboard
constructor(source: ImageSource, options: Options, enforceMinimumFrameDelay: Boolean = SDK_INT < 34)