Channel Swap Filter
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.
Channel Swap Filter - Settings

| Property | Description |
|---|---|
Set Red channel to: |
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. |
Set Green channel to: |
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. |
Set Blue channel to: |
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. |
Set Alpha channel to: |
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. |
Invert RGB |
When on, inverts the colour channels (produces a photographic negative). Has no effect on the alpha channel. |
Invert Alpha |
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. |
Reset |
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 Script Engine Objects.