image::imageops

Function flip_horizontal_in

Source
pub fn flip_horizontal_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 Flip an image horizontally and put the result into the destination ImageBuffer.