Oink
Nodes

Crop

Nuke-style Crop.

raw .md
NodeCrop
Type idOC_N_crop
MenuTransform › Crop
Nuke classCrop
Codeopencomp_core/nodes/transform/crop.py

Crop properties

Inputs and outputs

PortNameType
input 0Imageimage
output 0Imageimage

Knobs

Panel tab Crop, in panel order.

KnobLabelTypeDefaultRange / valuesNuke knobDescription
leftboxfloat0-1000 to 8192
bottomyfloat0-1000 to 8192
rightrfloat19200 to 8192
toptfloat10800 to 8192
softnesssoftnessfloat00 to 100softness
reformatreformatboolfalsereformat
intersectintersectboolfalseintersect
black_outsideblack outsidebooltruecrop

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / valuesNuke knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring

Nuke equivalent

Imports from and exports to Nuke's Crop.

Knobs with a different name here:

Nuke knobKnob here
cropblack_outside

Nuke knobs not in this list import as a knob of the same name, or are kept unchanged for export. See .nk import.

Examples

Open these from Help › Examples…, or from the ? menu in this node's Properties panel.

  • Data window outside the display window (examples/io/read_data_window.oink): openexr-images DisplayWindow/t08.exr: 400x300 pixels whose data window starts at (30, 40) inside a 501x401 display window. The Read keeps the whole data window as the bounding box; the Crop cuts it back to the format, like Nuke.

On this page