AnimatedWebpDecoder

class AnimatedWebpDecoder

Allows decoding animated webp images using ImageDecoder on Android P+.

This class is experimental and may be removed at any time.

Functions

Link copied to clipboard
open fun byteBufferDecoder(imageHeaderParsers: List<ImageHeaderParser>, arrayPool: ArrayPool): ResourceDecoder<ByteBuffer, Drawable>
Link copied to clipboard
open fun streamDecoder(imageHeaderParsers: List<ImageHeaderParser>, arrayPool: ArrayPool): ResourceDecoder<InputStream, Drawable>