ComfyUI  >  Nodes  >  ComfyUI-HQ-Image-Save >  Save EXR

ComfyUI Node: Save EXR

Class Name

SaveEXR

Category
image
Author
spacepxl (Account age: 349 days)
Extension
ComfyUI-HQ-Image-Save
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

Save EXR Description

SaveEXR node preserves high-quality HDR images in OpenEXR format for visual effects and graphics workflows.

Save EXR:

The SaveEXR node is designed to save high-quality images in the OpenEXR format, which is widely used in the visual effects and computer graphics industries due to its ability to store high dynamic range (HDR) images. This node ensures that your images are saved with precision and clarity, preserving the full range of color and brightness information. The SaveEXR node is particularly beneficial for workflows that require detailed image data, such as 3D rendering, compositing, and post-production processes. By converting images to the linear color space and handling alpha channels appropriately, this node guarantees that your saved images maintain their integrity and are ready for further processing or final output.

Save EXR Input Parameters:

filepath

The filepath parameter specifies the location where the EXR file will be saved. It must be a valid path ending with the .exr extension. This parameter is crucial as it determines where your image will be stored. Ensure that the directory exists or can be created, as the node will attempt to create the necessary directories if they do not exist. If the path is invalid or does not end with .exr, an error will be raised.

images

The images parameter represents the image data to be saved. This data is typically in a tensor format and contains the pixel values of the image. The node processes this data to ensure it is in the correct format for saving as an EXR file, including converting from sRGB to linear color space if necessary.

sRGB_to_linear

The sRGB_to_linear parameter is a boolean flag that indicates whether the image data should be converted from sRGB to linear color space before saving. This conversion is important for maintaining the accuracy of color information in HDR images. If set to True, the node will perform the conversion; otherwise, it will save the image data as is.

save_workflow

The save_workflow parameter determines the workflow for saving additional metadata. It can include options like api or ui to save specific JSON metadata along with the image. This metadata can be useful for tracking the image's creation process or for use in other applications.

prompt

The prompt parameter is used to save additional information related to the image, such as the prompt or description used to generate it. This can be included in the saved EXR file's metadata if the save_workflow includes api.

extra_pnginfo

The extra_pnginfo parameter allows for saving extra metadata in the EXR file. This can include any additional information that might be relevant for future use or processing of the image. If the save_workflow includes ui, this metadata will be saved.

Save EXR Output Parameters:

results

The results parameter is a list that contains the outcome of the save operation. It typically includes confirmation that the image has been saved successfully and any relevant metadata. This output is useful for verifying that the save operation was completed as expected and for accessing any additional information saved with the image.

Save EXR Usage Tips:

  • Ensure that the filepath ends with .exr and that the directory path is valid to avoid errors during the save operation.
  • Use the sRGB_to_linear parameter to maintain accurate color representation in HDR images by converting from sRGB to linear color space.
  • Include relevant metadata using the save_workflow, prompt, and extra_pnginfo parameters to keep track of the image's creation process and any additional information that might be useful for future reference.

Save EXR Common Errors and Solutions:

Filepath needs to end in .exr or .EXR

  • Explanation: The specified filepath does not end with the .exr extension.
  • Solution: Ensure that the filepath ends with .exr or .EXR.

Invalid filepath

  • Explanation: The specified filepath is not valid or the directory path is not absolute.
  • Solution: Provide a valid, absolute filepath that ends with .exr and ensure that the directory exists or can be created.

Path not found: <filepath>

  • Explanation: The specified directory path does not exist and cannot be created.
  • Solution: Verify that the directory path is correct and that you have the necessary permissions to create directories if they do not exist.

Save EXR Related Nodes

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