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