Function image::imageops::crop [-] [+] [src]

pub fn crop<I: GenericImage + 'static>(image: &mut I, x: u32, y: u32, width: u32, height: u32) -> SubImage<I> where I: 'static, <I as Pixel>::Subpixel: 'static

Return a mutable view into an image