EasyUse/🚫 Deprecatedgenerated
ImageToMask (🚫Deprecated)(imageToMask)
ImageToMask (🚫Deprecated) node from ComfyUI-Easy-Use.
image To Mask
image
MASK
channel
COMBO
Easy Use
Description
Converts an input image into a mask by extracting a single RGB color channel. The selected channel determines the value of each pixel in the output mask, while the other channels are ignored.
This node is part of the EasyUse/🚫 Deprecated category and is marked as deprecated.
Inputs
image
- Type:
IMAGE - The image to convert into a mask.
channel
- Type:
COMBO - Options:
red,green,blue - Selects which RGB channel to use when building the mask.
Outputs
MASK
- The generated single-channel mask, taken from the selected input image channel.
Usage Notes
- This node is deprecated and may be removed in a future release. Prefer the built-in ComfyUI ImageToMask node when available.
- The output mask is a single-channel image, so the selected channel controls the brightness and opacity of the mask.
- The node does not use an alpha channel; only the red, green, or blue channel is extracted.
Comments
Sign in with GitHub to join the discussion.