The ?crop=center
parameter will crop the image with centre gravity if the aspect ratio of the image differs from the original dimensions of the source image.
For example, if resize dimension is ?crop=center&resize=w50,h50
and the original image dimensions are 200x100
, then the resulting image would be first resized to 100x50
then cropped to 50x50
https://your-dexecure-domain.com/fluffy-kitten.jpg?crop=center&resize=w50,h50
Note: This feature is not available to all customers. Contact us to enable this for your distributions.
The ?crop=face
parameter detects faces in the image and crops the image with the face as the center. This can be used in conjunction with the resize parameter to control the size of the output image.
https://your-dexecure-domain.com/profile-picture.jpg?crop=face&resize=w50,h50
Configure the behaviour of Dexecure via URL Query Parameters