Function nannou::image::imageops::colorops::brighten[][src]

pub fn brighten<I, P, S>(
    image: &I,
    value: i32
) -> ImageBuffer<P, Vec<S, Global>> where
    S: Primitive + 'static,
    I: GenericImageView<Pixel = P>,
    P: Pixel<Subpixel = S> + 'static, 

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

See also brighten_in_place.