Crop Image
This node allows you to crop an image to specified dimensions with optional padding for precise sizing.
The Image Crop node lets you extract a specific region from an image by defining X and Y coordinates, width, and height.
Use the interactive crop preview to visually select the area you want to keep. Optionally enable 'Pad to Exact Size' to ensure the output always matches the specified dimensions, padding with transparency if needed.
Crop Image
Image*File upload
Crop PreviewCrop editor
X CoordinateNumber
Y CoordinateNumber
Crop WidthNumber
Crop HeightNumber
Pad to Exact SizeToggle
Inputs
Each input can be typed in directly or connected to another node's output.
| Input | Type | Required | Description |
|---|---|---|---|
| Image | File upload | Required | The image to be cropped. |
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
| Crop Preview | Crop editor | — | imageCropPreviewDescription |
| X Coordinate | Number | 0 | The X coordinate for the top-left corner of the crop area. Range: 0–…. |
| Y Coordinate | Number | 0 | The Y coordinate for the top-left corner of the crop area. Range: 0–…. |
| Crop Width | Number | 200 | The desired width of the cropped image. Range: 1–…. |
| Crop Height | Number | 200 | The desired height of the cropped image. Range: 1–…. |
| Pad to Exact Size | Toggle | On | When enabled, adds black padding if the image is smaller than the target dimensions to ensure exact sizing. |
Output
Type: Image (imageUrl)