Skip to main content

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
Fields marked * are required. Dots are connection handles.

Inputs

Each input can be typed in directly or connected to another node's output.

InputTypeRequiredDescription
ImageFile uploadRequiredThe image to be cropped.

Settings

SettingTypeDefaultDescription
Crop PreviewCrop editorimageCropPreviewDescription
X CoordinateNumber0The X coordinate for the top-left corner of the crop area. Range: 0–….
Y CoordinateNumber0The Y coordinate for the top-left corner of the crop area. Range: 0–….
Crop WidthNumber200The desired width of the cropped image. Range: 1–….
Crop HeightNumber200The desired height of the cropped image. Range: 1–….
Pad to Exact SizeToggleOnWhen enabled, adds black padding if the image is smaller than the target dimensions to ensure exact sizing.

Output

Type: Image (imageUrl)