Automatic gravity crop

Centres the crop to focus on the most prominent object in the image. Useful for creating thumbnails from images with different aspect ratios. To use automatic crop, just set gravity operation to auto.

gravity=auto