Function mupdf_sys::fz_pixmap_spots[][src]

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

Return the number of spots in a pixmap.

Returns the number of spots (components, less colorants and alpha). Does not throw exceptions.