Oink
Saturation Saturation

Saturation

Scale colour away from / towards its luminance.

raw .md
NodeSaturation
MenuColor › Saturation
Names in each format
.oink comp (JSON)"type": "OC_N_saturation"
.nk scriptSaturation (how .nk import works)
Pythonnuke.createNode("Saturation")
Assistant (MCP)create_node(type="Saturation")
Tab searchsaturation

Saturation properties

Inputs and outputs

PortNameType
input 0Imageimage
input 1maskimage
output 0Imageimage

Knobs

Panel tab Saturation, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
channelschannelsmenuallrgba, rgb, alpha, all, noneLayer the op applies to: rgb, rgba, alpha, all, none, <layer> or <layer>.<ch>
saturationsaturationfloat10 to 4saturation
modeluminance mathmenurec709rec709 (Rec 709), ccir601 (Ccir 601), rec2020 (Rec 2020), average (Average), maximum (Maximum)mode
mask_channelmaskmenunonenone, rgba.alpha, rgba.red, rgba.green, rgba.blueMask channel, e.g. rgba.alpha (none = no mask)
injectinjectboolfalseCopy the mask into mask.a for nodes downstream
invert_maskinvertboolfalseinvert_mask
fringefringeboolfalseOnly apply the effect at the edges of the mask
unpremult(un)premult bymenunonenone, rgba.alpha
invert_unpremultinvertboolfalse(Un)premultiply by 1 - alpha
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

Examples

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

  • Saturation (examples/color/saturation.oink): Pushes saturation on the Golden Gate tiled photo using Rec.709 luma weights.

On this page