Function image::imageops::colorops::brighten [−][src]
pub fn brighten<I, P, S>(image: &I, value: i32) -> ImageBuffer<P, Vec<S>> where
I: GenericImageView<Pixel = P>,
P: Pixel<Subpixel = S> + 'static,
S: Primitive + 'static,
Brighten the supplied image.
value
is the amount to brighten each pixel by.
Negative values decrease the brightness and positive values increase it.