Function invert

pub fn invert<I>(image: &mut I)
where I: GenericImage,
Available on crate feature dep_image only.
Expand description

Invert each pixel within the supplied image. This function operates in place.