public interface

AnimatedImageFactory

com.facebook.imagepipeline.animated.factory.AnimatedImageFactory
Known Indirect Subclasses

Class Overview

Decoder for animated images.

Summary

Public Methods
abstract CloseableImage decodeGif(EncodedImage encodedImage, ImageDecodeOptions options, Bitmap.Config bitmapConfig)
Decodes a GIF into a CloseableImage.
abstract CloseableImage decodeWebP(EncodedImage encodedImage, ImageDecodeOptions options, Bitmap.Config bitmapConfig)
Decode a WebP into a CloseableImage.

Public Methods

public abstract CloseableImage decodeGif (EncodedImage encodedImage, ImageDecodeOptions options, Bitmap.Config bitmapConfig)

Decodes a GIF into a CloseableImage.

Parameters
encodedImage encoded image (native byte array holding the encoded bytes and meta data)
options the options for the decode
bitmapConfig the Bitmap.Config used to generate the output bitmaps
Returns

public abstract CloseableImage decodeWebP (EncodedImage encodedImage, ImageDecodeOptions options, Bitmap.Config bitmapConfig)

Decode a WebP into a CloseableImage.

Parameters
encodedImage encoded image (native byte array holding the encoded bytes and meta data)
options the options for the decode
bitmapConfig the Bitmap.Config used to generate the output bitmaps
Returns