image::imageops

Function rotate180_in

Source
pub fn rotate180_in<I, Container>(
    image: &I,
    destination: &mut ImageBuffer<I::Pixel, Container>,
) -> ImageResult<()>
where I: GenericImageView, I::Pixel: 'static, Container: DerefMut<Target = [<I::Pixel as Pixel>::Subpixel]>,
Expand description

Affine transformations Rotate an image 180 degrees clockwise and put the result into the destination ImageBuffer.