AnimatedImageDecoder
class AnimatedImageDecoder @JvmOverloads constructor(source: ImageSource, options: Options, enforceMinimumFrameDelay: Boolean = true) : 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
Types
Link copied to clipboard
class Factory @JvmOverloads constructor(val enforceMinimumFrameDelay: Boolean = true) : Decoder.Factory