decodeJpeg2000

expect fun decodeJpeg2000(encodedData: ByteArray): DecodedJpeg2000Image?

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.

actual fun decodeJpeg2000(encodedData: ByteArray): DecodedJpeg2000Image?
actual fun decodeJpeg2000(encodedData: ByteArray): DecodedJpeg2000Image?
actual fun decodeJpeg2000(encodedData: ByteArray): DecodedJpeg2000Image?