ComfyUI > Nodes > ComfyUI-CoCoTools > Save Image

ComfyUI Node: Save Image

Class Name

SaverNode

Category
COCO Tools/Savers
Author
Conor-Collins (Account age: 431days)
Extension
ComfyUI-CoCoTools
Latest Updated
2025-03-05
Github Stars
0.03K

How to Install ComfyUI-CoCoTools

Install this extension via the ComfyUI Manager by searching for ComfyUI-CoCoTools
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-CoCoTools 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

Save Image Description

Versatile image-saving tool for AI artists with customizable settings and multiple formats support.

Save Image:

The SaverNode, also known as the "Image Saver," is a versatile tool designed to facilitate the saving of images in various formats with customizable settings. This node is particularly beneficial for AI artists who need to manage and store their generated images efficiently. It offers dynamic widget behavior, allowing users to adjust parameters such as file type, bit depth, and compression settings, depending on the chosen format. The primary goal of the SaverNode is to provide a flexible and user-friendly interface for saving images, ensuring that the output meets the specific requirements of different projects. By supporting multiple file types and offering options for quality and compression, the SaverNode empowers users to optimize their image-saving process, balancing between file size and image quality.

Save Image Input Parameters:

images

This parameter represents the images you wish to save. It is a required input and serves as the primary data that the node processes.

file_path

This parameter specifies the directory path where the images will be saved. The default value is "ComfyUI," and it allows you to organize your saved images by directing them to a specific folder.

version

The version parameter is an integer that helps in versioning your saved images. It ranges from -1 to 999, with a default value of 1, allowing you to keep track of different iterations or versions of your images.

start_frame

This integer parameter determines the starting frame number for saving images, with a default value of 1001. It can range from 0 to 99999999, providing flexibility in naming and organizing image sequences.

frame_pad

Frame padding is an integer that defines the number of digits used in the frame numbering, ranging from 1 to 8, with a default of 4. This helps in maintaining a consistent naming convention for image sequences.

file_type

This parameter allows you to choose the format in which the images will be saved. Options include "exr," "png," "jpg," "webp," and "tiff," with "png" as the default. The choice of file type affects the available options for bit depth, compression, and quality.

bit_depth

Bit depth determines the color depth of the saved images, with options of "8," "16," and "32," and a default of "16." Higher bit depths can result in better image quality but larger file sizes.

exr_compression

For images saved in the EXR format, this parameter allows you to select the compression method. Options include "none," "zip," "zips," "rle," "pxr24," "b44," "b44a," "dwaa," and "dwab," with "zips" as the default. Compression can reduce file size while maintaining image quality.

quality

This integer parameter, ranging from 1 to 100 with a default of 95, controls the quality of the saved images. Higher values result in better quality but larger file sizes, applicable to formats like JPG.

save_as_grayscale

A boolean parameter that, when set to true, saves the image in grayscale. The default is false, meaning images are saved in color unless specified otherwise.

Save Image Output Parameters:

None

The SaverNode does not produce any direct output parameters. Its primary function is to save images to the specified file path, and it does not return any data to be used by other nodes.

Save Image Usage Tips:

  • To ensure optimal image quality, choose a higher bit depth and quality setting, especially when saving in formats like JPG or PNG.
  • Use the version and start_frame parameters to keep track of different iterations of your work, which is particularly useful in projects with multiple revisions.
  • Select the appropriate file type based on your needs; for instance, use EXR for high dynamic range images or PNG for lossless compression.

Save Image Common Errors and Solutions:

File path not found

  • Explanation: The specified file path does not exist or is incorrect.
  • Solution: Verify that the file path is correct and that the directory exists. Create the directory if necessary.

Unsupported file type

  • Explanation: The chosen file type is not supported by the node.
  • Solution: Ensure that the file type is one of the supported options: "exr," "png," "jpg," "webp," or "tiff."

Invalid bit depth

  • Explanation: The selected bit depth is not compatible with the chosen file type.
  • Solution: Check the compatibility of the bit depth with the file type and select an appropriate value.

Quality out of range

  • Explanation: The quality parameter is set outside the allowed range of 1 to 100.
  • Solution: Adjust the quality setting to be within the valid range.

Save Image Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-CoCoTools
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 Playground, enabling artists to harness the latest AI tools to create incredible art.