Function contrast_in_place

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.

[See also contrast.][contrast]