Add Nodes/Image/InvertChannel
parent
97aefcf1d4
commit
6f9f3ae108
32
Nodes%2FImage%2FInvertChannel.md
Normal file
32
Nodes%2FImage%2FInvertChannel.md
Normal file
@ -0,0 +1,32 @@
|
||||
# Invert Channel
|
||||
|
||||
---
|
||||
|
||||
## 🔌 INPUT PORTS
|
||||
|
||||
| Name | Type | Description |
|
||||
|-----------------|--------------------|-----------------------------------------------------------------------------|
|
||||
| `Input Channel` | `SplitChannelData` | The single-channel input data to invert (e.g., R, G, B, or A from an image).|
|
||||
|
||||
---
|
||||
|
||||
## 📤 EXPORT PORTS
|
||||
|
||||
| Name | Type | Description |
|
||||
|------------------|--------------------|-----------------------------------------------------------------------------|
|
||||
| `Output Channel` | `SplitChannelData` | The inverted output channel. Each byte is calculated as `255 - inputValue`. |
|
||||
|
||||
---
|
||||
|
||||
## 📝 DESCRIPTION
|
||||
|
||||
The **Invert Channel** node performs a per-pixel inversion of a single channel of an image.
|
||||
This is useful for creating negative effects, generating masks, or processing grayscale data.
|
||||
|
||||
This node is derived from [`BaseImageNode`](Nodes/BaseImageNode).
|
||||
|
||||
---
|
||||
|
||||
## ⚠️ KNOWN ISSUES
|
||||
|
||||
-N/A
|
Loading…
x
Reference in New Issue
Block a user