ComfyUI Node
TiledWan Image To Mask
Extracts a specific color channel from an image to create a mask. Useful for converting colored regions, alpha channels, or channel-specific data into masks for use with inpainting, compositing, or other masking operations. The output mask values represent the intensity of the selected channel, with proper normalization and clamping.
TiledWan Image To Mask
- image
- mask
◄channel▾►
◄clamp_outputtrue►
◄normalize_outputtrue►
CategoryTiledWan
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image to convert to mask. Can be any standard image format. | |
| channel | COMBO | Which color channel to extract as the mask. Alpha channel only available if image has transparency. | |
| clamp_output | BOOLEAN | true | Clamp output values to 0-1 range. Recommended to keep enabled for proper mask values. |
| normalize_output | BOOLEAN | true | Normalize the output to use full 0-1 range. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| mask | MASK | Grayscale mask derived from the selected image channel. White areas indicate high channel values, black areas indicate low values. |