Image And Mask Preview (Swwan)

ImageAndMaskPreview

KJNodes/maskingoutput node

Preview an image or a mask, when both inputs are used composites the mask on top of the image. with pass_through on the preview is disabled and the composite is returned from the composite slot instead, this allows for the preview to be passed for video combine nodes for example.

Pack: ComfyUI_Swwan

custom_nodes.ComfyUI_Swwan

Inputs (5)

NameTypeRequired
mask_opacityFLOATrequired
mask_colorSTRINGrequired
pass_throughBOOLEANrequired
imageIMAGEoptional
maskMASKoptional

Outputs (1)

NameType
compositeIMAGE