Add Nodes/Image/RGBACombine
parent
ef029bd449
commit
2fa8b53cb9
41
Nodes%2FImage%2FRGBACombine.md
Normal file
41
Nodes%2FImage%2FRGBACombine.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# RGBA Combine
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🔌 INPUT PORTS
|
||||||
|
|
||||||
|
| Name | Type | Description |
|
||||||
|
|-----------------|--------------------|--------------------------------------------------|
|
||||||
|
| `R` | `SplitChannelData` | The red channel data to be combined. |
|
||||||
|
| `G` | `SplitChannelData` | The green channel data to be combined. |
|
||||||
|
| `B` | `SplitChannelData` | The blue channel data to be combined. |
|
||||||
|
| `A` | `SplitChannelData` | The alpha channel data to be combined. |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📤 EXPORT PORTS
|
||||||
|
|
||||||
|
| Name | Type | Description |
|
||||||
|
|-----------------|-----------------|-------------------------------------------------|
|
||||||
|
| `Combined Image` | `ImageData` | The resulting image after combining the RGBA channels into a single image. |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📝 DESCRIPTION
|
||||||
|
|
||||||
|
The **RGBA Combine** node takes four separate **R**, **G**, **B**, and **A** channels and combines them into a single **RGBA** image. This is commonly used for reconstructing an image from its individual channels, such as when manipulating channels in image processing workflows.
|
||||||
|
|
||||||
|
This node:
|
||||||
|
- Combines the channels into a single `ImageData` output, using the `Color32` struct for each pixel (each channel is expected to be a `byte` ranging from **0** to **255**).
|
||||||
|
|
||||||
|
This node is often combined with an [`RGBASplit`]("Nodes/Image/RGBASplit) Node.
|
||||||
|
|
||||||
|
This node is derived from [`BaseImageNode`](Nodes/BaseImageNode).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## ⚠️ KNOWN ISSUES
|
||||||
|
|
||||||
|
- Ensure that all input channels have the same **width** and **height**. If they do not match, unexpected behavior may occur.
|
||||||
|
|
||||||
|
---
|
Loading…
x
Reference in New Issue
Block a user