fn crop_dimms<I: GenericImageView>( image: &I, x: u32, y: u32, width: u32, height: u32, ) -> (u32, u32, u32, u32)