ChannelMerge
Combine one channel of A and B.
| Node | ChannelMerge |
|---|---|
| Menu | Channel › ChannelMerge |
| Names in each format | |
| .oink comp (JSON) | "type": "OC_N_channelmerge" |
| .nk script | ChannelMerge (how .nk import works) |
| Python | nuke.createNode("ChannelMerge") |
| Assistant (MCP) | create_node(type="ChannelMerge") |
| Tab search | channelmerge, or its initials cm |

Inputs and outputs
| Port | Name | Type |
|---|---|---|
| input 0 | B | image |
| input 1 | A | image |
| input 2 | mask | image |
| output 0 | Image | image |
Knobs
Panel tab Channelmerge, in panel order.
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
A | A | text | rgba.alpha | A | ||
operation | operation | menu | union | union, absminus, b if not a, divide, from, in, max, min, minus, multiply, out, plus, stencil, xor | operation | |
B | B | text | rgba.alpha | B | ||
output | output | text | rgba.alpha | output | ||
bbox | Set BBox to | menu | union | union, B side, A side | bbox | |
mask_channel | mask | menu | none | none, rgba.alpha, rgba.red, rgba.green, rgba.blue | Mask channel (a linked mask input with none uses rgba.alpha) | |
invert_mask | invert | bool | false | invert_mask | ||
mix | mix | float | 1 | 0 to 1 | mix |
Other knobs (Python, .nk and the assistant; not on the panel)
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
gl_color | Viewer Controls Color | float ×3 | 0, 0, 0 | 0 to 1 | ||
postage_stamp_frame | Static Frame | int | 1 | -2147483648 to 2147483647 | ||
lifetimeStart | Lifetime Start | int | 0 | -2147483648 to 2147483647 | ||
lifetimeEnd | Lifetime End | int | 100 | -2147483648 to 2147483647 | ||
useLifetime | Use Lifetime | boolean | false | |||
cached | Cached | boolean | false | |||
bookmark | Bookmark | boolean | false | |||
dope_sheet | Dope Sheet | boolean | false | |||
clone_group | Clone Group | string | ||||
link_source | Link Source | string | ||||
link_overrides | Link Overrides | string | ||||
split_views | Split Views | string |