[][src]Function purrmitive::imageops::colorops::brighten

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

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