Add ComfyUI-MaskToTransparent node entry

A simple mask-based transparency tool for ComfyUI. Turns black mask areas into fully transparent pixels while preserving white areas, with edge feathering support. Perfect for object extraction after semantic segmentation with SAM 3.1 models.

 Features
 Automatically makes black mask areas transparent, preserves original image in white areas
 Customizable Gaussian edge feathering to remove jagged edges
 Supports preserving or overwriting original alpha channel
 Fully compatible with RGB & RGBA images
 Ideal for extracting segmented objects after using SAM 3.1 models, removing unwanted background pixels
This commit is contained in:
Warningning 2026-04-29 15:38:34 +08:00 committed by GitHub
parent 66108ccdbc
commit 9686bae08a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -959,6 +959,17 @@
"https://github.com/darksidewalker/ComfyUI-DaSiWa-Nodes"
],
"title": "ComfyUI-DaSiWa-Nodes"
}
},
{
"author": "nekodificador",
"title": "ComfyUI-MaskToTransparent",
"reference": "https://github.com/Warningning/ComfyUI-MaskToTransparent",
"files": [
"https://github.com/Warningning/ComfyUI-MaskToTransparent"
],
"install_type": "git-clone",
"description": "Turn black mask areas into transparent pixels with edge feathering, ideal for SAM object extraction.",
"tags": ["mask", "transparent", "alpha", "image", "matting"]
}
]
}