Function image::imageops::colorops::contrast_in_place [−][src]
pub fn contrast_in_place<I>(image: &mut I, contrast: f32) where
I: GenericImage,
Adjust the contrast of the supplied image in place.
contrast
is the amount to adjust the contrast by.
Negative values decrease the contrast and positive values increase the contrast.