Oink
CopyBA Copy

Copy

Copy channels from A into the B stream.

raw .md
NodeCopy
MenuChannel › Copy
Names in each format
.oink comp (JSON)"type": "OC_N_copy"
.nk scriptCopy (how .nk import works)
Pythonnuke.createNode("Copy")
Assistant (MCP)create_node(type="Copy")
Tab searchcopy

Copy properties

Inputs and outputs

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

Knobs

Panel tab Copy, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
from0Copy channeltextrgba.alphafrom0
to0totextrgba.alphato0
from1Copy channeltextnonefrom1
to1totextnoneto1
from2Copy channeltextnonefrom2
to2totextnoneto2
from3Copy channeltextnonefrom3
to3totextnoneto3
channelsLayer Copymenunonergba, rgb, alpha, all, nonechannelsChannels copied from A to B where A has them
bboxSet BBox tomenuunionunion, B side, A sidebbox
metadata_frommetadata frommenuBB, A, Allmetainput
range_fromrange frommenuBB, A, Allrangeinput
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
unpremult(un)premult bymenunonenone, rgba.alphaunpremult
invert_unpremultinvertboolfalseinvert_unpremult
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

Knob names in .nk scripts

.nk knobKnob here
metainputmetadata_from
rangeinputrange_from

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

Examples

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

  • Copy an alpha between streams (examples/channel/copy_alpha.oink): Copy takes rgba.alpha from its A input (the CandleGlass render) and writes it into the B stream (the Desk photo), then Premult multiplies the colour by that alpha. The same pattern moves any channel between streams.

On this page