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
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
Preview | Syntax |
---|---|
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.
If you would like to try and include multiple faces in the image, you can use gravity=smart
Examples
Preview | Syntax |
---|---|
Last updated