Automatic Gravity Crop
Chooses the most important image features and objects and sets the focal point on them when cropping.
gravity=smart
gravity=auto
gravity=face
gravity=meta
Smart gravity
Sets the crop focal point on the people in the image or on the most prominent featues if no faces are detected. Useful for creating thumbnails from images with different aspect ratios.
Examples
Automatic gravity (legacy)
If you prefer to use the legacy automatic crop, just set gravity operation to auto.
Examples
Face gravity
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.
Examples
Metadata gravity
When using gravity=meta, all images having a custom focus point defined in the library will use this as if using the focal point crop. If there is no focus point defined in the image metadata, gravity falls back to auto.
Last updated






