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

Creates an image without allocating memory for the image (used in the new version of the library).

  • numcmpts — the number of components
  • cmptparms — the components parameters
  • clrspc — the image color space

@return a new image structure if successful, NULL otherwise.