Custom Node Pack for ComfyUI
This node pack provides convenient tools for image processing and transformation.
This pack includes the following nodes:
Adjusts transparency based on brightness. Bright areas become transparent, while dark areas remain opaque.
Converts alpha channel (transparency) to grayscale values. Functions as the inverse transformation of BrightnessTransparency, restoring brightness information that was expressed as transparency back to grayscale images.
Flattens images with alpha channels by compositing them against a white background. Transparent areas are composited with white background and output as RGB images without transparency.
Binarizes images. Areas brighter than the specified threshold become white (1.0), while darker areas become black (0.0).
Automatically binarizes images using Otsu's binarization algorithm. Automatically calculates the optimal threshold and separates light and dark areas in the image.
Removes noise mixed in white backgrounds. Performs binarization with the specified threshold and replaces white background areas with pure white to remove noise.
Converts color images to grayscale. Processes RGB values uniformly to generate grayscale images.
Applies antialiasing effects to images. Smooths edges by first upscaling the image and then returning it to the original size.
- Install using ComfyUI-Manager.
- Navigate to the
ComfyUI/custom_nodesdirectory. - Clone the repository with the following command:
git clone https://github.com/your-username/ComfyUI-Image-Toolkit cd ComfyUI-Image-Toolkit
- Launch ComfyUI.
- Look for the "ComfyUI-Image-Toolkit" category in the node browser.
- Add the required nodes to your workflow and use them.
GPL-3.0 license