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