From 2fa8b53cb98714feadfdaac4d9541e59120c89ac Mon Sep 17 00:00:00 2001 From: Chromum Date: Fri, 9 May 2025 11:25:17 +0000 Subject: [PATCH] Add Nodes/Image/RGBACombine --- Nodes%2FImage%2FRGBACombine.md | 41 ++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Nodes%2FImage%2FRGBACombine.md diff --git a/Nodes%2FImage%2FRGBACombine.md b/Nodes%2FImage%2FRGBACombine.md new file mode 100644 index 0000000..9b65678 --- /dev/null +++ b/Nodes%2FImage%2FRGBACombine.md @@ -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. + +---