cosmic::iced_winit::graphics::image::image_rs::imageops

Function rotate180

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

Rotate an image 180 degrees clockwise.