ComfyUI Node: Save Image

Class Name

SaverNode

Category
COCO Tools/Savers
Author
Conor-Collins (Account age: 522days)
Extension
ComfyUI-CoCoTools_IO
Latest Updated
2025-05-30
Github Stars
0.04K

How to Install ComfyUI-CoCoTools_IO

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

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. Its primary purpose is to provide a flexible and efficient way to store images generated or processed within the ComfyUI environment. By offering a range of file types and compression options, the SaverNode allows you to tailor the output to your specific needs, whether you require high-quality images for professional use or optimized files for web distribution. The node's dynamic widget behavior ensures that only relevant settings are displayed based on your chosen file type, simplifying the configuration process. This node is particularly beneficial for AI artists who need to manage and save their creative outputs with precision and ease.

Save Image Input Parameters:

images

This parameter represents the image data that you wish to save. It is a required input and serves as the primary content that the SaverNode will process and store.

file_path

This parameter specifies the directory path where the images will be saved. The default value is "ComfyUI," but you can customize it to any valid directory path to organize your saved images according to your workflow.

version

The version parameter allows you to specify a version number for the saved images, which can be useful for version control or tracking changes over time. It accepts integer values ranging from -1 to 999, with a default of 1.

start_frame

This parameter sets the starting frame number for the saved images, which is particularly useful when saving sequences of images. The default value is 1001, and it can range from 0 to 99,999,999.

frame_pad

Frame padding determines the number of digits used for the frame number in the saved file names. This helps maintain a consistent naming convention for image sequences. The default is 4, with a range from 1 to 8.

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 settings for compression and quality.

bit_depth

Bit depth determines the color depth of the saved images, affecting their quality and file size. Options include "8," "16," and "32," with "16" as the default. Higher bit depths provide more color information but result in larger files.

exr_compression

This parameter is relevant when saving images in the "exr" format. It allows you to select the type of compression applied to the saved files, with options like "none," "zip," "zips," "rle," "pxr24," "b44," "b44a," "dwaa," and "dwab." The default is "zips."

quality

Quality is a parameter that applies to lossy file types like "jpg" and "webp." It determines the compression level, with a range from 1 to 100 and a default of 95. Higher values result in better image quality but larger file sizes.

save_as_grayscale

This boolean parameter allows you to save images in grayscale, which can be useful for specific artistic effects or reducing file size. The default value is False, meaning images are saved in color by default.

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 the workflow.

Save Image Usage Tips:

  • To ensure optimal image quality, choose a higher bit depth and quality setting, especially when saving in lossy formats like "jpg" or "webp."
  • Use the version and start_frame parameters to manage and organize image sequences effectively, particularly when working on iterative projects.
  • Select the appropriate file type based on your needs; for instance, use "exr" for high dynamic range images and "png" for lossless compression.

Save Image Common Errors and Solutions:

FileNotFoundError

  • Explanation: This error occurs when the specified file path does not exist or is inaccessible.
  • Solution: Verify that the directory path specified in the file_path parameter is correct and that you have the necessary permissions to write to it.

ValueError: Invalid Bit Depth

  • Explanation: This error arises when an unsupported bit depth is selected for the chosen file type.
  • Solution: Ensure that the bit depth is compatible with the selected file type. For example, "png" supports 8 and 16 bits, while "exr" can support higher bit depths.

UnsupportedFileTypeError

  • Explanation: This error is triggered when an invalid or unsupported file type is selected.
  • Solution: Double-check the file_type parameter to ensure it is set to one of the supported formats: "exr," "png," "jpg," "webp," or "tiff."

Save Image Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-CoCoTools_IO
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.