Functionality to Auto-Detect Crop

If you know the size of the image, and you have a center, this will crop and resize maintaining the center.

Nice functionality for using manual crop.