ImageDecoderDecoder

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.

Types

Link copied to clipboard
class Factory(context: Context? = null, enforceMinimumFrameDelay: Boolean = true)

Functions

Link copied to clipboard
open suspend fun decode(): <Error class: unknown class>