← Node reference

Crop / Transform

Utility

Crop a region from the image, flip horizontally/vertically, or rotate. Set crop coordinates (X, Y, Width, Height) in the properties panel.

Runs
In your browser
Inputs
2
Outputs
1

Inputs

PortTypeID
Imageimageimage-in
Maskmaskmask-in

Outputs

PortTypeID
Imageimageimage-out

Notes

  • ·Crop is applied first, then flip, then rotate about the centre of the cropped area.
  • ·The output canvas stays the size of the crop, so rotating by anything other than 0 or 180 degrees will clip the corners. Crop wider than you need if you are going to rotate.
  • ·Each transform node resamples independently, so chaining two of them softens the image twice.
What this connects into (24)

Computed from the port compatibility rules, so it stays correct as nodes change.

Node ID crop-transform. Open it in Studio with Tab, then type the name.