load MASK from alpha channel

Basic data handling: PathLoadMaskFromAlpha

Loads a mask from the alpha channel of an image. This node loads an image from the specified path and extracts the alpha channel to use as a mask. If the image has no alpha channel, a blank mask is returned.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (1)

NameTypeRequired
pathSTRINGrequired

Outputs (2)

NameType
maskMASK
existsBOOLEAN