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 componentscmptparms
— components parametersclrspc
— image color space @return returns a new image structure if successful, returns NULL otherwise