Visit ComfyUI Online for ready-to-use ComfyUI environment
Save images with alpha channel, preserving transparency for AI artists, combining images and masks into PNG with metadata.
The SaveImageWithAlpha
node is designed to save images with an alpha channel, allowing you to preserve transparency information in your images. This is particularly useful for AI artists who need to maintain the integrity of transparent areas in their artwork. The node processes images and their corresponding alpha masks, combines them, and saves the result as a PNG file with an alpha channel. Additionally, it can embed metadata such as prompts and extra information into the saved image, making it easier to keep track of the context and details of each image. This node is essential for workflows that require high-quality image outputs with transparency, ensuring that your creative work retains its intended visual properties.
This parameter expects a list of images that you want to save with an alpha channel. Each image should be in a format that can be processed by the node, typically a tensor. The images will be combined with their corresponding alpha masks to produce the final output.
This parameter expects a list of alpha masks corresponding to the images provided. Each mask should be in a format that can be processed by the node, typically a tensor. The masks define the transparency levels for the images, where the alpha channel will be applied.
This optional parameter allows you to specify a prefix for the filenames of the saved images. The default value is "ComfyUI_image_with_alpha". This prefix helps in organizing and identifying the saved images, especially when saving multiple images in a batch.
This optional parameter allows you to embed a text prompt into the metadata of the saved image. This can be useful for keeping track of the context or inspiration behind the image. If provided, the prompt will be stored in the PNG metadata.
This optional parameter allows you to embed additional metadata into the saved image. It expects a dictionary where keys are metadata fields and values are the corresponding information. This can be useful for storing extra details about the image, such as creation settings or artist notes.
This output parameter provides a dictionary containing information about the saved images. It includes details such as the filenames, subfolders, and types of the saved images. This information can be used to verify the successful execution of the node and to locate the saved images.
filename_prefix
parameter to organize your saved images, especially when working with multiple batches.prompt
and extra_pnginfo
parameters to keep track of the context and details of your images.© Copyright 2024 RunComfy. All Rights Reserved.