centerCrop
CenterCrop is a graphics processing technique used to resize and crop images by expanding or shrinking them around their centers while maintaining their original aspect ratios.
The process of center cropping involves aligning the image within a designated area, ensuring that the entire
The shape is often represented mathematically using a predetermined percent value for percentage crop factor, and
For example, a percentage of 100% would return the same image size if used for a lesser
Function-wise, CenterCrop can be treated like any of other cropping methods: as something catching pixels outside
This method was developed to solve distortions and irregularities that result from image corners getting drawn