image::imageops

Function rotate90

Source
pub fn rotate90<I: GenericImageView>(
    image: &I,
) -> ImageBuffer<I::Pixel, Vec<<I::Pixel as Pixel>::Subpixel>>
where I::Pixel: 'static,
Expand description

Affine transformations Rotate an image 90 degrees clockwise.