[][src]Function mupdf_sys::fz_gamma_pixmap

pub unsafe extern "C" fn fz_gamma_pixmap(
    ctx: *mut fz_context,
    pix: *mut fz_pixmap,
    gamma: f32
)

Apply gamma correction to a pixmap. All components of all pixels are modified (except alpha, which is unchanged).

gamma: The gamma value to apply; 1.0 for no change.