Crop
Use Crop to cut an image down to an area you specify.
Use this transformation to specify the size and position of a box indicating the portion of the image to preserve.
For example, if you have the following image:
You can use the Crop transformation to change it to a width of 600, height of 350, gravity of default, and set to NorthWest or 0,0:
You can use also use the Crop transformation to change it to a width of 600, height of 350, gravity of center:
For a usage example, see Crop an Image.
If you add the IMQuery transformation to a policy, use the im
variable, and select Crop, you can use a query string to crop any image using this policy. See Syntax and Examples for the syntax for the query string parameter.
Updated about 3 years ago