ComfyUI > Nodes > ComfyUI-tbox > Image Save

ComfyUI Node: Image Save

Class Name

ImageSaver

Category
tbox/Image
Author
ai-shizuka (Account age: 3606days)
Extension
ComfyUI-tbox
Latest Updated
2025-04-22
Github Stars
0.02K

How to Install ComfyUI-tbox

Install this extension via the ComfyUI Manager by searching for ComfyUI-tbox
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-tbox in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Image Save Description

ImageSaver node efficiently saves images in various formats with batch processing and unique filenames.

Image Save:

The ImageSaver node is designed to facilitate the efficient saving of images in various formats, providing a streamlined process for AI artists to store their creations. This node is particularly beneficial for those who need to manage multiple image outputs, as it supports batch processing and ensures that each image is saved with a unique filename to prevent overwriting. By offering support for popular image formats such as PNG, JPG, WEBP, and BMP, the ImageSaver node caters to a wide range of needs, whether you require high-quality lossless images or more compressed formats for web use. The node's ability to handle different quality settings allows you to balance between image fidelity and file size, making it a versatile tool in your image processing workflow.

Image Save Input Parameters:

images

This parameter expects a list of images that you want to save. The images should be in a format that can be processed by the node, typically as tensors or arrays that can be converted into image files. The node will iterate over this list and save each image individually.

path

The path parameter specifies the directory where the images will be saved. It is important to ensure that this path is valid and that you have write permissions to the directory. The path should not include the filename, as filenames are generated automatically based on the prefix and index.

prefix

This parameter allows you to define a prefix for the filenames of the saved images. The prefix is combined with an index number to create unique filenames for each image, preventing any overwriting of files.

format

The format parameter determines the file format in which the images will be saved. Options include "PNG", "JPG", "WEBP", and "BMP". Each format has its own characteristics, such as compression and quality, which can affect the final output.

quality

This parameter controls the quality of the saved images, particularly for formats like JPG and WEBP that support adjustable quality settings. The quality can be set to values like 100, 95, 90, down to 50, with 100 being the highest quality. Adjusting this parameter allows you to manage the trade-off between image quality and file size.

Image Save Output Parameters:

None

The ImageSaver node does not produce any direct output parameters. Its primary function is to save images to the specified directory, and it does not return any data upon completion.

Image Save Usage Tips:

  • Ensure that the path you specify is correct and accessible to avoid errors during the saving process.
  • Use the prefix parameter to organize your saved images systematically, especially when dealing with batch processing.
  • Choose the appropriate format and quality settings based on your needs; for instance, use PNG for lossless quality and JPG for smaller file sizes.

Image Save Common Errors and Solutions:

Error saving <filepath>: <error_message>

  • Explanation: This error occurs when there is an issue with saving the image to the specified filepath. It could be due to an incorrect path, lack of write permissions, or unsupported format.
  • Solution: Verify that the path is correct and that you have the necessary permissions to write to the directory. Ensure that the format specified is supported and correctly spelled.

Filepath does not exist

  • Explanation: This error indicates that the directory specified in the path parameter does not exist.
  • Solution: Double-check the path to ensure it is correct and that the directory exists. Create the directory if it does not exist before attempting to save images.

Image Save Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-tbox
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.