Function opj_decode

Source
pub unsafe extern "C" fn opj_decode(
    p_decompressor: *mut opj_codec_t,
    p_stream: *mut opj_stream_t,
    p_image: *mut opj_image_t,
) -> OPJ_BOOL
Expand description

Decode an image from a JPEG-2000 codestream

  • p_decompressor — decompressor handle
  • p_stream — Input buffer stream
  • p_image — the decoded image @return true if success, otherwise false