Visit ComfyUI Online for ready-to-use ComfyUI environment
Node for rearranging color channels in images for creative effects, color correction, and processing tasks.
The ShuffleChannels
node is designed to provide you with the ability to rearrange the color channels of an image. This can be particularly useful for creative effects, color correction, or preparing images for specific processing tasks. By allowing you to specify which channels (red, green, blue, and alpha) should be mapped to which outputs, this node offers a flexible way to manipulate the color composition of your images. Whether you want to swap the red and blue channels, replace the green channel with white, or handle the alpha channel in a specific manner, ShuffleChannels
gives you the control to achieve your desired visual outcome.
The image
parameter is the input image that you want to process. This image will have its color channels rearranged based on the other parameters you specify. The image should be in a format that supports multiple color channels, such as RGB or RGBA.
The red
parameter allows you to specify which channel should be used for the red output. Options include "red", "green", "blue", "alpha", and "white". The default value is "red". This parameter determines the source of the red channel in the output image.
The green
parameter allows you to specify which channel should be used for the green output. Options include "red", "green", "blue", "alpha", and "white". The default value is "green". This parameter determines the source of the green channel in the output image.
The blue
parameter allows you to specify which channel should be used for the blue output. Options include "red", "green", "blue", "alpha", and "white". The default value is "blue". This parameter determines the source of the blue channel in the output image.
The alpha
parameter allows you to specify which channel should be used for the alpha output. Options include "red", "green", "blue", "alpha", and "none". The default value is "none". This parameter determines the source of the alpha channel in the output image, or if the alpha channel should be ignored.
The IMAGE
output is the processed image with its color channels rearranged according to the specified input parameters. This output image will have the same dimensions as the input image but with the channels shuffled as per your configuration.
alpha
parameter to "none".red
parameter to "blue" and the blue
parameter to "red".red
, green
, blue
, and alpha
parameters. Valid options include "red", "green", "blue", "alpha", "white", and "none" for the alpha channel.© Copyright 2024 RunComfy. All Rights Reserved.