Page:
Nodes/Images/SingleChannelColor
Pages
Guides/QuickStart
Home
Nodes/BaseImageNode
Nodes/Image/Desaturate
Nodes/Image/GetDimensions
Nodes/Image/Invert
Nodes/Image/InvertChannel
Nodes/Image/RGBACombine
Nodes/Image/RGBASplit
Nodes/Image/Texture2DImport
Nodes/Image/Texture2DOutput
Nodes/Image/VariableNode
Nodes/Image/ViewImageNode
Nodes/Images/FromPathNode
Nodes/Images/SingleChannelColor
Nodes/String/Append
Nodes/String/Replace
Nodes/String/Split
Nodes/Utils/GenericConnection
quick-start
Clone
3
Nodes/Images/SingleChannelColor
Chromum edited this page 2025-05-09 11:18:46 +00:00
Table of Contents
Single Channel Color
🔌 INPUT PORTS
Name | Type | Description |
---|---|---|
Color |
GreyscaleValue |
The greyscale value to be used as the color for each pixel. The value must be between 0 and 255. |
Width |
int |
The width of the image (in pixels). |
Height |
int |
The height of the image (in pixels). |
📤 EXPORT PORTS
Name | Type | Description |
---|---|---|
Color |
SplitChannelData |
The output image data where all pixels are set to the input color. |
📝 DESCRIPTION
The Single Channel Color node generates an image where all pixels are set to a single color, based on the input greyscale value. This node is useful for creating solid color images or channels in image processing workflows.
This node:
- Accepts a greyscale value to define the color. The color value must be an integer between 0 and 255.
- Uses the width and height to define the output image dimensions (See:
Texture Get Dimensions
).
This node is derived from BaseImageNode
.
⚠️ KNOWN ISSUES
- The node assumes that valid values for width and height are provided. If either value is invalid or zero, the output may be incorrect or the node may fail to process the image.
- The
GreyscaleValue
input must be between 0 and 255 to ensure valid color representation. Values outside this range may cause unexpected behavior (While there is checks in place to stop this, it can sometimes occur during a domain reload).