Skip to main content

crop_image

Function crop_image 

Source
pub fn crop_image(
    img: &DynamicImage,
    x: u32,
    y: u32,
    width: u32,
    height: u32,
) -> DynamicImage
Expand description

Crop image region