Skip to content

Channel Shuffle

Node icon
Color

Rearranges RGBA channels by swapping, duplicating, filling with black/white, or rerouting any channel to any other.

The Channel Shuffle node applied to a source image: original (left) and result (right).
Side-by-side comparison: the original image on the left and the same image after the Channel Shuffle node on the right.

For each output channel (Red, Green, Blue, Alpha) pick a source: any input channel, or the constant Zero or One. Use it to swap channels, isolate one, or move data into or out of alpha.

Pins

ImageImage
InputRequired
ImageImage
Output

Channel Mapping

RedChoice
Default: Red

Which source channel feeds the output Red

  • RedPass through the original red channel.
  • GreenUse the green channel as the red output.
  • BlueUse the blue channel as the red output.
  • AlphaUse the alpha channel as the red output.
  • ZeroFill with 0 (black).
  • OneFill with 255 (white).
GreenChoice
Default: Green

Which source channel feeds the output Green

  • RedUse the red channel as the green output.
  • GreenPass through the original green channel.
  • BlueUse the blue channel as the green output.
  • AlphaUse the alpha channel as the green output.
  • ZeroFill with 0 (black).
  • OneFill with 255 (white).
BlueChoice
Default: Blue

Which source channel feeds the output Blue

  • RedUse the red channel as the blue output.
  • GreenUse the green channel as the blue output.
  • BluePass through the original blue channel.
  • AlphaUse the alpha channel as the blue output.
  • ZeroFill with 0 (black).
  • OneFill with 255 (white).
AlphaChoice
Default: Alpha

Which source channel feeds the output Alpha

  • RedUse the red channel as the alpha output.
  • GreenUse the green channel as the alpha output.
  • BlueUse the blue channel as the alpha output.
  • AlphaPass through the original alpha channel.
  • ZeroFill with 0 (fully transparent).
  • OneFill with 255 (fully opaque).
  • Set Red, Green, and Blue all to Red for a grayscale image of the red channel alone.
  • Swap Red and Blue to convert between RGB and BGR channel order.
  • Set Alpha to Zero or One to force fully transparent or fully opaque output.
  • A single-channel input is accepted and promoted to color first.