Package 

Interface AnimatedImageDecoder

    • Method Summary

      Modifier and Type Method Description
      abstract AnimatedImage decodeFromNativeMemory(long nativePtr, int sizeInBytes, ImageDecodeOptions options) Factory method to create the AnimatedImage from a native pointer
      abstract AnimatedImage decodeFromByteBuffer(ByteBuffer byteBuffer, ImageDecodeOptions options) Factory method to create the AnimatedImage from a ByteBuffer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • decodeFromNativeMemory

         abstract AnimatedImage decodeFromNativeMemory(long nativePtr, int sizeInBytes, ImageDecodeOptions options)

        Factory method to create the AnimatedImage from a native pointer

        Parameters:
        nativePtr - The native pointer
        sizeInBytes - The size in byte to allocate
        options - The options for decoding
      • decodeFromByteBuffer

         abstract AnimatedImage decodeFromByteBuffer(ByteBuffer byteBuffer, ImageDecodeOptions options)

        Factory method to create the AnimatedImage from a ByteBuffer

        Parameters:
        byteBuffer - The ByteBuffer containing the image
        options - The options for decoding