Cloudimage - Documentation

Cropfit

Performs either the crop or fit operation depending on the origin image and the desired transformation size.

If the desired image is smaller than the original, the result is cropped to achieve the desired dimensions.

If the desired image is larger than the original, the fit operation is applied to avoid image enlargement. All gravity, solid background and blurred background fit operations apply.

If you include the trim operation in the URL, the image will be trimmed first (if possible) and then either cropped or fitted to the desired size.