-
public class ImageDecoder
-
-
Field Summary
Fields Modifier and Type Field Description public final static ImageDecoderINSTANCE
-
Method Summary
Modifier and Type Method Description final static IntArraydecodeToBitmap(ByteArray encoded)Decodes a byte array into a bitmap and returns an integer array containing the pixel data. -
-
Method Detail
-
decodeToBitmap
final static IntArray decodeToBitmap(ByteArray encoded)
Decodes a byte array into a bitmap and returns an integer array containing the pixel data.
Used by C++ over JNI to decode images, specifically
RiveRenderFactory::decodeImage.- Parameters:
encoded- The byte array containing the encoded image data.
-
-
-
-