ComfyUI Node
RGBA Safe Post (Swwan)
Resizes alpha to the processed image size and safely unpremultiplies RGB. Use this when you need corrected RGB plus alpha as outputs for downstream nodes.
RGBA Safe Post (Swwan)
- image
- alpha
- image_out
- alpha_out
◄has_alpha—►
◄epsilon0.0010►
CategorySwwan/RGBA
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Processed IMAGE output, usually after passing through RGB-only nodes. | |
| alpha | MASK | Original alpha returned by RGBA Safe Pre. | |
| has_alpha | BOOLEAN | Boolean flag returned by RGBA Safe Pre. False makes this node act as passthrough. | |
| epsilon | FLOAT | 0.00100.000001–0.1 | Minimum alpha used during unpremultiply to avoid divide-by-zero and bright edge artifacts. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image_out | IMAGE | — |
| alpha_out | MASK | — |