Function mupdf_sys::fz_pixmap_colorants
source · pub unsafe extern "C" fn fz_pixmap_colorants(
ctx: *mut fz_context,
pix: *const fz_pixmap
) -> c_int
Expand description
Return the number of colorants in a pixmap.
Returns the number of colorants (components, less any spots and alpha).