Skip to content

Add ComfyUI-MaskToTransparent node entry#2837

Open
Warningning wants to merge 1 commit intoComfy-Org:mainfrom
Warningning:main
Open

Add ComfyUI-MaskToTransparent node entry#2837
Warningning wants to merge 1 commit intoComfy-Org:mainfrom
Warningning:main

Conversation

@Warningning
Copy link
Copy Markdown

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant