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

Function flip_vertical_in

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

Flip an image vertically and put the result into the destination ImageBuffer.