ComfyUI  >  Nodes  >  ComfyUI-HQ-Image-Save

ComfyUI Extension: ComfyUI-HQ-Image-Save

Repo Name

ComfyUI-HQ-Image-Save

Author
spacepxl (Account age: 349 days)
Nodes
View all nodes (7)
Latest Updated
6/21/2024
Github Stars
0.0K

How to Install ComfyUI-HQ-Image-Save

Install this extension via the ComfyUI Manager by searching for  ComfyUI-HQ-Image-Save
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-HQ-Image-Save 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ComfyUI-HQ-Image-Save Description

ComfyUI-HQ-Image-Save adds Image Save nodes for TIFF 16-bit and EXR 32-bit formats, ideal for users applying LUTs or color corrections, ensuring maximum color accuracy preservation.

ComfyUI-HQ-Image-Save Introduction

ComfyUI-HQ-Image-Save is an extension designed to enhance the image saving and loading capabilities of ComfyUI, particularly for AI artists who work with high-quality images. This extension allows you to save and load images and latent data in 32-bit EXR format, which preserves the full floating-point precision of your images. This is especially useful for maintaining the highest possible image quality during the creative process, avoiding the quantization issues that can occur with formats like PNG.

By using ComfyUI-HQ-Image-Save, you can ensure that your images retain their original quality, making it an invaluable tool for artists who demand the best from their digital creations. Whether you're working on individual images or batch processing multiple files, this extension provides the flexibility and precision you need.

How ComfyUI-HQ-Image-Save Works

At its core, ComfyUI-HQ-Image-Save works by allowing you to save and load images and latent data in the EXR format. EXR is a high-dynamic-range (HDR) image file format that supports 32-bit floating-point precision, which means it can store a much wider range of color values compared to standard 8-bit formats like PNG.

Basic Principles

  1. Loading Images: The extension provides nodes to load individual EXR files or batches of EXR files from a folder. This is useful for artists who need to work with multiple images at once.
  2. Saving Images: You can save your images in EXR format, either as individual files or as part of a batch. The extension supports both relative and absolute paths, and includes features like version and frame number formatting to help you organize your files.
  3. Latent Data: For those working with latent data, the extension allows you to save and load latent data in EXR format as well. This ensures that the data retains its precision and quality throughout your workflow.

ComfyUI-HQ-Image-Save Features

Image Nodes

  • Load EXR: Load individual EXR files or batches from a folder. You can control the loading process with options like cap, skip, and nth controls, similar to VHS load nodes.
  • Load EXR Frames: Load a sequence of EXR frames, specifying the start and end frames. This is useful for working with animations or time-lapse sequences.
  • Save EXR: Save your images in RGB or RGBA 32bpc EXR format. The extension supports batch processing and allows you to use either relative paths in the output folder or absolute paths with version and frame number formatting. It also includes overwrite protection to prevent accidental data loss.
  • Save EXR Frames: Save a sequence of EXR frames with %04d formatting. You can also choose to save the workflow as a GUI .json and/or API .json file.
  • Save Tiff: Save images in RGB 16bpc TIFF format. Note that this feature is outdated and not recommended for use.

Latent Nodes

  • Load Latent EXR: Load latent data from EXR files with the same VHS-style controls.
  • Save Latent EXR: Save latent data as 4-channel latent -> RGBA 32bpc EXR files.

Troubleshooting ComfyUI-HQ-Image-Save

Common Issues and Solutions

  1. No Load TIFF Node: Currently, there is no node available to load TIFF files. If you need to work with TIFF files, consider converting them to EXR format first.
  2. Outdated TIFF Save: The TIFF save feature is outdated and may not work as expected. It is recommended to use the EXR format for saving images.

Frequently Asked Questions

  • Why should I use EXR instead of PNG? EXR format supports 32-bit floating-point precision, which means it can store a much wider range of color values compared to the 8-bit PNG format. This helps in preserving the quality of your images.

  • How do I view latent EXR files? For viewing latent EXR files, you can use the following formula to approximate RGB values from the four latent channels:

r = (0.298 * r + 0.187 * g - 0.187 * b - 0.184 * a) * 0.18215
g = (0.207 * r + 0.286 * g + 0.189 * b - 0.271 * a) * 0.18215
b = (0.208 * r + 0.173 * g + 0.264 * b - 0.473 * a) * 0.18215

Learn More about ComfyUI-HQ-Image-Save

For additional resources, tutorials, and community support, you can explore the following:

  • These resources will help you get the most out of ComfyUI-HQ-Image-Save and connect with other AI artists who are using the extension.

ComfyUI-HQ-Image-Save Related Nodes

RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.