Function nannou::image::imageops::crop [−][src]
pub fn crop<I>(
image: &mut I,
x: u32,
y: u32,
width: u32,
height: u32
) -> SubImage<&mut I> where
I: GenericImageView,
Return a mutable view into an image The coordinates set the position of the top left corner of the crop.