Feature Crop

Use Feature Crop to crop around the most important features in an image.

This transformation automatically identifies the most important features of an image and crops around as many of those features as possible.

For example, if you have the following image:

unprocessed imageunprocessed image

You can use the Feature Crop transformation to change it to a width of 200, height of 200 and it crops around the most important features:

feature crop appliedfeature crop applied

For a usage example, see Create a mobile friendly hero image.

If you add the IMQuery transformation to a policy, use the im variable, and select Feature Crop, you can use a query string to crop around the important features of any image using this policy. See Syntax and Examples for the syntax for the query string parameter.


Did this page help you?