Channels shuffle

Atomic node: Channels shuffle {width="200px"}

Rearranges the color channels of one or two input images into the output image.

I.e., takes two inputs and allows you to return an output where any of the Red, Green, Blue and Alpha channels are swapped or set to any of the channels from the input.

Essentially it allows you to pack and swap RGB channels in any possible way. Grayscale inputs are treated as if they are Color: Red, Green, Blue and Alpha all return the same values.

Channel Shuffle has basic options, but in most cases of Channel-packing or Stripping and setting Alpha Channels it is quicker to use RGBA Merge, RGBA Split, Alpha Merge and Alpha Split. They are set up to do default actions that do not require changing multiple parameters and converting to Grayscale afterwards. If you’re after a more advanced version with more blending options, look at Channel Mixer.

Output connectors

Examples

Parameters

Red channel Integer
Choose the source channel to be inserted into the output image’s Red channel.
Green channel Integer
Choose the source channel to be inserted into the output image’s Green channel.
Blue channel Integer
Choose the source channel to be inserted into the output image’s Blue channel.
Alpha channel Integer
Choose the source channel to be inserted into the output image’s Alpha channel.

Input connectors

Input 1 Color/Grayscale PRIMARY
Primary input image.
Input 2 Color/Grayscale
Secondary input image.

Output connectors

Output Grayscale/Color

Examples

Coming soon.

recommendation-more-help
dd48abc6-e399-43d2-9777-578ec70c5a23