Skip to content

Crop

Node icon
Transform

Extracts a rectangular region from an image by specifying pixel or percentage amounts to remove from each edge.

Crop removes pixels from the edges of an image. Specify how much to cut from the left, right, top, and bottom, using either pixel amounts or percentages of the source dimensions (toggle with the px/% button on each slider). When a size_ref pin is connected, the crop dimensions are determined automatically from the reference.

Pins

ImageImage
InputRequired
Size RefSize Reference
InputOptional
ImageImage
Output

Crop

LeftInteger · px/%
Default: 0 Range: 0–8192 px / 0–50%

Amount to remove from the left edge

RightInteger · px/%
Default: 0 Range: 0–8192 px / 0–50%

Amount to remove from the right edge

TopInteger · px/%
Default: 0 Range: 0–8192 px / 0–50%

Amount to remove from the top edge

BottomInteger · px/%
Default: 0 Range: 0–8192 px / 0–50%

Amount to remove from the bottom edge

  • Use Crop to isolate a specific region of a larger image.
  • Switch to percentage mode for resolution-independent cropping that scales with any input size.
  • Connect a reference image to the size_ref input to auto-crop to its dimensions.
  • Combine with Transform for repositioning before cropping.