Effects node
Crop
Trims the edges of the image by set Left/Right/Top/Bottom amounts, then either leaves the trimmed area transparent, zooms in to fill the frame, or fills it with a solid color.

What it does
Crop is an image effect: it changes the picture that flows through it. It takes picture in and gives picture out.
Inputs and outputs
Inputs
- picture input
Outputs
- picture out
Controls
Every control with a range can be driven by a modulator, a note, an audio level or a sketch.
| Control | Range or options | Default |
|---|---|---|
| left | 0 to 0.95 | 0.100000001 |
| right | 0 to 0.95 | 0.100000001 |
| top | 0 to 0.95 | 0.100000001 |
| bottom | 0 to 0.95 | 0.100000001 |
Example patch
This patch wires Crop to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.
infinite-patch 1
rev 2
# Crop: a starting patch for the Crop node
node 1 Effects crop
id node
pos 520 300
end
node 2 Source Ramp
id in0
pos 0 300
end
node 3 Utility Output
id out
pos 1080 300
end
cable node 0 in0
cable out 0 node