Visit ComfyUI Online for ready-to-use ComfyUI environment
SaveEXR node preserves high-quality HDR images in OpenEXR format for visual effects and graphics workflows.
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.
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.
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.
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.
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.
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
.
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.
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.
filepath
ends with .exr
and that the directory path is valid to avoid errors during the save operation.sRGB_to_linear
parameter to maintain accurate color representation in HDR images by converting from sRGB to linear color space.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..exr
extension..exr
or .EXR
..exr
and ensure that the directory exists or can be created.<filepath>
© Copyright 2024 RunComfy. All Rights Reserved.