decodeJpeg2000
Decodes JPEG 2000 encoded image data (either a .jp2 container or a raw .j2k/.j2c codestream) into a DecodedJpeg2000Image with 0xAARRGGBB pixels, or returns null if decoding fails.
Return
DecodedJpeg2000Image on success, or null if the input is not valid JPEG 2000 data.
Parameters
encodedData
Raw JPEG 2000 bytes.