java.lang.Object | |
↳ | com.facebook.imagepipeline.animated.factory.AnimatedImageFactoryImpl |
Decoder for animated images.
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
|
Decodes a GIF into a CloseableImage.
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 |
CloseableImage
for the GIF image
Decode a WebP into a CloseableImage.
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 |
CloseableImage
for the WebP image