Transformation Endpoints
Crop Image
Crops an image to the specified dimensions
POST
Description
With this endpoint, you can crop an image by specifying the dimensions of the crop area.
The crop area is defined by 2 points: the top-left corner at (x1, y1)
and the bottom-right corner at (x2, y2)
.
Example of a crop area
Authorizations
API Key for authentication
Path Parameters
The unique identifier of the image. This identifier is used to reference the image in subsequent requests.
Body
application/json
Response
201
application/json
The API will return the Image object in the response body.
The Image object represents an image processed using the IMG Processing API. The object contains information about the image, such as its URL, size, and format. The Image object is returned in the response body of all image processing requests.