Region of Interest Crop

Use Region of Interest Crop to crop around a specified point of interest.

For example, you can specify the shape and size of the region of interest, and provide Image and Video Manager with cropping instructions for the width and height of the cropped area.

unprocessed imageunprocessed image

Image and Video Manager will crop the image while preserving as much of the region of interest as possible given the requested width and height.

region of interest crop appliedregion of interest crop applied

For a usage example, see Crop around a focal point.

To generate the same results using the Image and Video Manager Query Language, append the following to your image URL:

RegionOfInterestCrop=(200,200),style=fill,gravity=Center,regionOfInterest=(anchor=(x=900,y=150),width=50,height=50)

If you add the IMQuery transformation to a policy, use the im variable, and select Region of Interest Crop, you can use a query string to crop around a specified point of interest using this policy. See Syntax and Examples for the syntax for the query string parameter.


Did this page help you?