Complete reference for all supported image transformations.
Resize
Resize an image to specified dimensions.
| Parameter | Type | Required | Description |
|---|---|---|---|
| width | integer | Yes | Target width in pixels |
| height | integer | Yes | Target height in pixels |
Code
/resize-300-200/image.jpg
Crop
Crop a region from the image.
| Parameter | Type | Required | Description |
|---|---|---|---|
| x | integer | Yes | X coordinate of crop origin |
| y | integer | Yes | Y coordinate of crop origin |
| width | integer | Yes | Crop width in pixels |
| height | integer | Yes | Crop height in pixels |
Code
/crop-10-10-400-300/image.jpg
Rotate
Rotate the image by a specified angle.
| Parameter | Type | Required | Description |
|---|---|---|---|
| angle | integer | Yes | Rotation angle (0-360 degrees) |
Code
/rotate-90/image.jpg
Grayscale
Convert the image to grayscale. No parameters required.
Code
/grayscale/image.jpg
Brightness
Adjust image brightness.
| Parameter | Type | Required | Description |
|---|---|---|---|
| level | integer | Yes | Brightness adjustment (-100 to 100) |
Code
/brightness-50/image.jpg
Contrast
Adjust image contrast.
| Parameter | Type | Required | Description |
|---|---|---|---|
| level | integer | Yes | Contrast adjustment (-100 to 100) |
Code
/contrast-30/image.jpg