load IMAGE+MASK from file (RGBA)

Basic data handling: PathLoadImageRGBA

Loads an image from a file path and returns RGB channels and Alpha as a mask. This node loads an image from the specified path and processes it to return the RGB channels as a tensor and the Alpha channel as a mask tensor. 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 (3)

NameType
imageIMAGE
maskMASK
existsBOOLEAN