openjpeg_ffi_bindings_generated
library
Functions
-
jp2k_decode(Pointer<Uint8> data, int length, int reduced_resolution_factor)
→ Pointer<Jp2kDecodeResult>
-
Decodes a raw J2K codestream (starts FF4F = SOC marker — not the
box-structured .jp2 file format) from
data/length.
-
jp2k_encode(Pointer<Uint8> pixels, int width, int height, int num_components, double compression_ratio)
→ Pointer<Jp2kEncodeResult>
-
Encodes an interleaved, tightly packed, 8-bit-per-sample raster
(
width * height * num_components bytes, row-major, no padding) to a
raw J2K codestream (SOC marker FF4F — not the box-structured .jp2 file
format).
-
jp2k_free_encode_result(Pointer<Jp2kEncodeResult> result)
→ void
-
-
jp2k_free_result(Pointer<Jp2kDecodeResult> result)
→ void
-