-
- All Implemented Interfaces:
-
com.facebook.imagepipeline.animated.factory.AnimatedImageFactory
public class AnimatedImageFactoryImpl implements AnimatedImageFactory
Decoder for animated images.
-
-
Constructor Summary
Constructors Constructor Description AnimatedImageFactoryImpl(AnimatedDrawableBackendProvider animatedDrawableBackendProvider, PlatformBitmapFactory bitmapFactory, boolean isNewRenderImplementation)
-
Method Summary
Modifier and Type Method Description CloseableImagedecodeGif(EncodedImage encodedImage, ImageDecodeOptions options, Bitmap.Config bitmapConfig)Decodes a GIF into a CloseableImage. CloseableImagedecodeWebP(EncodedImage encodedImage, ImageDecodeOptions options, Bitmap.Config bitmapConfig)Decode a WebP into a CloseableImage. -
-
Constructor Detail
-
AnimatedImageFactoryImpl
AnimatedImageFactoryImpl(AnimatedDrawableBackendProvider animatedDrawableBackendProvider, PlatformBitmapFactory bitmapFactory, boolean isNewRenderImplementation)
-
-
Method Detail
-
decodeGif
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 decodebitmapConfig- the Bitmap.
-
decodeWebP
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 decodebitmapConfig- the Bitmap.
-
-
-
-