-
public interface AnimatedImageDecoder
-
-
Method Summary
Modifier and Type Method Description abstract AnimatedImagedecodeFromNativeMemory(long nativePtr, int sizeInBytes, ImageDecodeOptions options)Factory method to create the AnimatedImage from a native pointer abstract AnimatedImagedecodeFromByteBuffer(ByteBuffer byteBuffer, ImageDecodeOptions options)Factory method to create the AnimatedImage from a ByteBuffer -
-
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 pointersizeInBytes- The size in byte to allocateoptions- 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 imageoptions- The options for decoding
-
-
-
-