Automatic gravity crop
Automatically detects the focal point
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 features if no faces are detected. Useful for creating thumbnails from images with different aspect ratios.
Examples
Automatic gravity
Setting the gravity parameter to auto finds the focal point of the image based on entropy.
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
Last updated
Was this helpful?