Package-level declarations
Types
Link copied to clipboard
A coil3.Image carrying a full decoded animation. Coil's own machinery treats it as a static image (drawing the first composited frame), which keeps plain AsyncImage working everywhere; KiteAsyncImage detects this type in a successful result and takes over playback with its own frame loop.
Link copied to clipboard
class KiteImageDecoder(source: ImageSource, options: Options, maxCacheableAnimationBytes: Long = Factory.DEFAULT_MAX_CACHEABLE_ANIMATION_BYTES, colorTarget: ColorTarget = ColorTarget.Srgb()) : Decoder
A coil3.decode.Decoder backed by ImageKodec's pure-Kotlin codecs.
Properties
Functions
Link copied to clipboard
@Composable
AsyncImage, but animations actually play: on every target.
Link copied to clipboard
Decode at most maxFrames frames of an animated image, as ImageKodec.decodeAnimation does with the same argument. 1 suits a thumbnail or a paused image: KiteImageDecoder then decodes and downscales one frame instead of every frame, and returns it as a still image. KiteAsyncImage sets it to 1 while animate is false.