image::imageops::colorops

Function brighten_in_place

Source
pub fn brighten_in_place<I>(image: &mut I, value: i32)
where I: GenericImage,
Expand description

Brighten the supplied image in place. value is the amount to brighten each pixel by. Negative values decrease the brightness and positive values increase it.

See also brighten.