Oink
MergeBA Merge

Merge (over)

Composites A over B using the A alpha.

raw .md
NodeMerge
Menunot in the node menu (created by import, scripts or other nodes)
Names in each format
.oink comp (JSON)"type": "OC_N_over"
.nk scriptMerge2 (how .nk import works)
Pythonnuke.createNode("OC_N_over")
Assistant (MCP)create_node(type="OC_N_over")
Tab searchmerge

Inputs and outputs

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

Knobs

Panel tab Over, in panel order.

KnobLabelTypeDefaultRange / values.nk 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 / values.nk 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

Knob names in .nk scripts

.nk knobKnob here
Achannelsa_channels
Bchannelsb_channels

Other .nk knobs use the same name here. See .nk import.

On this page