Nodes/Basic data handling/save IMAGE+MASK to file
ComfyUI Node

save IMAGE+MASK to file

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.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
save IMAGE+MASK to file
  • images
  • mask
  • success
path
formatpng
quality95
invert_maskfalse
create_dirstrue
CategoryBasic/Path

Inputs (7)

NameTypeDefaultDescription
imagesIMAGE
maskMASK
pathSTRING
formatoptSTRINGpng
qualityoptINT951–100
invert_maskoptBOOLEANfalse
create_dirsoptBOOLEANtrue

Outputs (1)

NameTypeDescription
successBOOLEAN