Function mupdf_sys::fz_tint_pixmap
source · pub unsafe extern "C" fn fz_tint_pixmap(
ctx: *mut fz_context,
pix: *mut fz_pixmap,
black: c_int,
white: c_int
)
Expand description
Tint all the pixels in an RGB, BGR, or Gray pixmap.
black: Map black to this hexadecimal RGB color.
white: Map white to this hexadecimal RGB color.