Function openjpeg_sys::opj_encode

source ·
pub unsafe extern "C" fn opj_encode(
    p_codec: *mut opj_codec_t,
    p_stream: *mut opj_stream_t
) -> OPJ_BOOL
Expand description

Encode an image into a JPEG-2000 codestream

  • p_codec — compressor handle
  • p_stream — Output buffer stream

@return Returns true if successful, returns false otherwise