public class

AnimatedImageFactoryImpl

extends Object
implements AnimatedImageFactory
java.lang.Object
   ↳ com.facebook.imagepipeline.animated.factory.AnimatedImageFactoryImpl

Class Overview

Decoder for animated images.

Summary

Public Constructors
AnimatedImageFactoryImpl(AnimatedDrawableBackendProvider animatedDrawableBackendProvider, PlatformBitmapFactory bitmapFactory)
Public Methods
CloseableImage decodeGif(EncodedImage encodedImage, ImageDecodeOptions options, Bitmap.Config bitmapConfig)
Decodes a GIF into a CloseableImage.
CloseableImage decodeWebP(EncodedImage encodedImage, ImageDecodeOptions options, Bitmap.Config bitmapConfig)
Decode a WebP into a CloseableImage.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.animated.factory.AnimatedImageFactory

Public Constructors

public AnimatedImageFactoryImpl (AnimatedDrawableBackendProvider animatedDrawableBackendProvider, PlatformBitmapFactory bitmapFactory)

Public Methods

public 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 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