Function grokj2k_sys::grk_image_new [−][src]
pub unsafe extern "C" fn grk_image_new(
numcmpts: u16,
cmptparms: *mut grk_image_cmptparm,
clrspc: GRK_COLOR_SPACE,
allocData: bool
) -> *mut grk_image
Expand description
Create image
@param numcmpts number of components @param cmptparms component parameters @param clrspc image color space @param allocData true if data is to be allocated, otherwise false
@return returns a new image if successful, otherwise nullptr