Package 

Object ImageDecoder

    • Method Summary

      Modifier and Type Method Description
      final static IntArray decodeToBitmap(ByteArray encoded) Decodes a byte array into a bitmap and returns an integer array containing the pixel data.
      • Methods inherited from class java.lang.Object

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