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

pub fn crop<I: GenericImageView>(
    image: &mut I,
    x: u32,
    y: u32,
    width: u32,
    height: u32
) -> SubImage<&mut I>
Expand description

Return a mutable view into an image The coordinates set the position of the top left corner of the crop.