ComfyUI Node
BD Unpack Channels
Inverse of BD_PackChannels. Splits one RGBA image into 4 individual channels. Each channel is output as both IMAGE (greyscale, 3-channel) and MASK (single-channel). Also produces a debug_preview showing all 4 channels in a 2x2 grid, each tinted in its own color (R=red, G=green, B=blue, A=white) — matches BD_PackChannels debug_preview layout.
BD Unpack Channels
- image
- red_image
- green_image
- blue_image
- alpha_image
- red_mask
- green_mask
- blue_mask
- alpha_mask
- debug_preview
◄alpha_default1.00►
Category🧠BrainDead/Segmentation
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Source image — RGB or RGBA. If RGB, alpha output is the value from alpha_default. | |
| alpha_defaultopt | FLOAT | 1.000–1 | Value used for the alpha output when the input image is RGB (only 3 channels). Default 1.0 = fully opaque. |
Outputs (9)
| Name | Type | Description |
|---|---|---|
| red_image | IMAGE | R channel as greyscale 3-channel image (R replicated to RGB). |
| green_image | IMAGE | G channel as greyscale 3-channel image. |
| blue_image | IMAGE | B channel as greyscale 3-channel image. |
| alpha_image | IMAGE | A channel as greyscale 3-channel image. |
| red_mask | MASK | R channel as single-channel MASK. |
| green_mask | MASK | G channel as single-channel MASK. |
| blue_mask | MASK | B channel as single-channel MASK. |
| alpha_mask | MASK | A channel as single-channel MASK. |
| debug_preview | IMAGE | 2x2 grid: R top-left tinted red, G top-right green, B bottom-left blue, A bottom-right white. |