pub fn apply_crop(image: &mut RgbImage, crop: Rect)
Crop an RGB image to the given rectangle.
If the crop region extends beyond image bounds, a warning is logged and the image is left unchanged.