Package 

Class AnimatedImageFactoryImpl

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 decode
        bitmapConfig - 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 decode
        bitmapConfig - the Bitmap.