opj_image_tile_create

Function opj_image_tile_create 

Source
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).

§Arguments

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

§Returns

a new image structure if successful, NULL otherwise.