save IMAGE+MASK to file

Basic data handling: PathSaveImageRGBA

Basic/Pathoutput node

Saves an image with a mask to a file with transparency. This node takes an image tensor and a mask tensor and saves them to the specified path as an image with transparency, where the mask defines the alpha channel.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (7)

NameTypeRequired
imagesIMAGErequired
maskMASKrequired
pathSTRINGrequired
formatSTRINGoptional
qualityINToptional
invert_maskBOOLEANoptional
create_dirsBOOLEANoptional

Outputs (1)

NameType
successBOOLEAN