Channel Swap Filter

Channel Swap Filter operator properties for Script Engine. Rebuilds the picture by choosing what each colour channel (Red, Green, Blue, Alpha) should contain. Useful for fixing sources where the channel order is wrong, repurposing a black-and-white matte stored in one channel as the alpha for keying, creative colour effects (false-colour, channel swaps), inverting colours for negative looks, and inverting the alpha to flip a key inside-out.

Property Type Access Description
RedChannel ChannelContent get/set What the output Red channel is filled with — pick any source channel (Red, Green, Blue or Alpha) or a fixed value. Used to rearrange or replace the red component of the picture.
GreenChannel ChannelContent get/set What the output Green channel is filled with — pick any source channel or a fixed value. Used to rearrange or replace the green component of the picture.
BlueChannel ChannelContent get/set What the output Blue channel is filled with — pick any source channel or a fixed value. Used to rearrange or replace the blue component of the picture.
AlphaChannel ChannelContent get/set What the output Alpha channel is filled with — pick any source channel or a fixed value. A common use is to drive Alpha from a luminance matte stored in Red, Green or Blue so the source can be keyed.
InvertRgb bool get/set When on, inverts the colour channels (produces a photographic negative). Has no effect on the alpha channel.
InvertAlpha bool get/set When on, inverts the alpha channel — opaque areas become transparent and vice versa. Useful for flipping a key inside-out without creating a separate operator.
ResetCmd Command get Reset all settings to their defaults (Red→Red, Green→Green, Blue→Blue, Alpha→Alpha, both inverts off).

Inherits from: AbstractOperator, AbstractAudioMetering.

See also: Channel Swap Filter in Operators — user-facing introduction, screenshots, and section summaries.