Visit ComfyUI Online for ready-to-use ComfyUI environment
Process images with masks to create transparency, useful for AI artists in image editing tasks.
The TransparentImage
node is designed to process images and their corresponding masks to create transparent images. This node is particularly useful for AI artists who need to manipulate image transparency for various creative projects. By applying masks to images, it allows you to selectively make parts of an image transparent, which can be beneficial for compositing, layering, and other advanced image editing tasks. The node also provides options to save the processed images and invert the masks, giving you flexibility in how you handle transparency in your artwork.
This parameter accepts a batch of images that you want to process. Each image should be in a compatible format that the node can handle. The images will be used as the base layer to which the masks will be applied to create transparency.
This parameter accepts a batch of masks corresponding to the images. Each mask should have the same dimensions as its corresponding image. The masks determine which parts of the images will be made transparent. Areas covered by the mask will become transparent, while areas not covered will remain opaque.
This parameter allows you to invert the mask before applying it to the image. If set to "yes," the mask will be inverted, making the previously transparent areas opaque and vice versa. This can be useful if you need to quickly switch the transparency areas without modifying the mask itself. Options: ["yes", "no"].
This parameter determines whether the processed images should be saved to disk. If set to "yes," the images will be saved with a specified filename prefix. This is useful for keeping a record of your work or for further processing. Options: ["yes", "no"].
This optional parameter allows you to specify a prefix for the filenames of the saved images. This can help you organize and identify your saved images more easily. The default value is "Mixlab_save".
This hidden parameter is used for additional prompt information that might be required for specific processing tasks. It is not typically set by the user directly.
This hidden parameter is used to store extra PNG information that might be required for specific processing tasks. It is not typically set by the user directly.
This output parameter provides the file path of the saved image if the save option is enabled. It helps you locate the saved image on your disk.
This output parameter provides the processed image with the applied transparency. It can be used for further processing or for immediate use in your projects.
This output parameter provides the processed image in RGBA format, which includes the alpha channel representing transparency. This is useful for applications that require explicit transparency information.
© Copyright 2024 RunComfy. All Rights Reserved.