Crop
Resize and crop to achieve the desired width and height
Last updated
Resize and crop to achieve the desired width and height
Last updated
Copyright © 2023 Scaleflex
Crops the image to specified dimensions (width and height) while keeping proportions and delivers the resulting image via CDN.
func=crop
This is the default resizing mode when both width and height operations are used. You do not need to specify func=crop explicitly.
Preview | Syntax |
---|---|
Specifies which part of the image you wish to keep while cropping. If you omit the gravity option, central cropping is performed.
gravity=X
Preview | Syntax |
---|---|
northwest
north
northeast
west
center | centre (default)
east
southwest
south
southeast
auto - more info
face - more info
smart - more info
X,Y - more info