image::imageops

Function rotate90_in

Source
pub fn rotate90_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 90 degrees clockwise and put the result into the destination ImageBuffer.