Oink
Nodes

Merge (over)

Composites A over B using the A alpha.

raw .md
NodeMerge
Type idOC_N_over
Menunot in the node menu (created by import, scripts or other nodes)
Nuke classMerge2
Codeopencomp_core/nodes/merge/over.py

Inputs and outputs

PortNameType
input 0Bimage
input 1Aimage
input 2maskimage
output 0Imageimage

Knobs

Panel tab Over, in panel order.

KnobLabelTypeDefaultRange / valuesNuke knobDescription
operationoperationmenuoveratop, average, color-burn, color-dodge, conjoint-over, copy, difference, disjoint-over, divide, exclusion, from, geometric, hard-light, hypot, in, mask, matte, max, min, minus, multiply, out, over, overlay, plus, screen, soft-light, sten...operation
sRGBVideo colorspaceboolfalseMerge in sRGB (the 8-bit colorspace), then back to linear
alpha_maskingalpha maskingboolfalse
bboxset bbox tomenuunionunion, intersection, A, Bbbox
metadata_frommetadata frommenuBB, A, All
range_fromrange frommenuBB, A, All
a_channelsA channelstextrgbaAchannelsLayer taken from A ('none' = black); its alpha is a
b_channelsB channelstextrgbaBchannelsLayer taken from B ('none' = black); its alpha is b
outputoutputtextrgbaoutputLayer written: rgba, rgb, alpha or any layer name
also_mergealso mergetextnonealso_mergeExtra layer merged with the same operation
mask_channelmaskmenunonenone, rgba.alpha, rgba.red, rgba.green, rgba.blueMask channel, e.g. rgba.alpha (none = no mask; a linked mask input then uses rgba.alpha)
invert_maskinvertboolfalseinvert_mask
mixmixfloat10 to 1mix

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
modeModeenumNONENONE, PLUS, MULTIPLY, SCREEN

Nuke equivalent

Imports from and exports to Nuke's Merge2.

Knobs with a different name here:

Nuke knobKnob here
Achannelsa_channels
Bchannelsb_channels

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

On this page