Function openjpeg_sys::opj_image_create

source ยท
pub unsafe extern "C" fn opj_image_create(
    numcmpts: OPJ_UINT32,
    cmptparms: *mut opj_image_cmptparm_t,
    clrspc: OPJ_COLOR_SPACE,
) -> *mut opj_image_t
Expand description

Create an image

  • numcmpts โ€” number of components
  • cmptparms โ€” components parameters
  • clrspc โ€” image color space @return returns a new image structure if successful, returns NULL otherwise