Function mupdf_sys::fz_pixmap_colorants[][src]

pub unsafe extern "C" fn fz_pixmap_colorants(
    ctx: *mut fz_context,
    pix: *const fz_pixmap
) -> c_int

Return the number of colorants in a pixmap.

Returns the number of colorants (components, less any spots and alpha).