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 or face.
When using gravity=face, all images with one dominant face are focused on this face upon cropping. If there are many or no faces in the image, gravity falls back to auto.