Skip to content

Crop

Manually crop an image by specifying a rectangular area with coordinates for two points: the top-left (X1, Y1) and bottom-right (X2, Y2) corners: /m/X1xY1:X2:Y2

Define each point as a pair of coordinates starting from the image’s top-left corner. Try the interactive demo below.

Preview that reacts to API
Copied to the clipboard
Manual Crop

Once enabled, use the sliders to set the coordinates of the rectangular area to be cropped. The width and height sliders, if present, will be ignored.

Append /smart after resizing the image to automatically apply a focal point via face detection. This only works with images showing faces.

Try the interactive demo below.

Preview that reacts to API
Copied to the clipboard
Smart Crop