← Node reference

Crop / Transform

Utility

Cut a region out of an IMAGE or a VIDEO at its native resolution, and optionally flip or rotate it. Set the window (X, Y, Width, Height) in the properties panel. Nothing here scales: the output is exactly the window you asked for, which is what you want when conditioning a plate before sending it to a video model. Use Reformat instead when you want to conform to a delivery size with letterboxing. Video is processed server-side via ffmpeg (capped at 30s / 50MB); Width and Height must both be even, because H.264 cannot encode an odd size exactly. Video rotation is limited to 0/90/180/270 (a quarter turn is lossless; any other angle would resample every pixel and defeat a native crop), and on 90/270 the output dimensions swap. A Mask applies to images only and is ignored on video, with a warning on the node.

Runs
In your browser
Inputs
2
Outputs
1

Inputs

PortTypeID
Image / Videoanyimage-in
Maskmaskmask-in

Outputs

PortTypeID
Outputanyimage-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.