ComfyUI Node: Load EXR

Class Name

LoadExr

Category
Image/EXR
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

Load EXR Description

Facilitates loading and processing of EXR files for AI art and image processing applications.

Load EXR:

The LoadExr node is designed to facilitate the loading and processing of EXR files, which are commonly used in high-dynamic-range imaging and visual effects due to their ability to store multiple channels and high precision data. This node's primary function is to open an EXR file, read its metadata, and extract pixel data from each subimage within the file. It efficiently handles multiple subimages and channels, converting the data into a format that can be easily manipulated and used in various AI art and image processing applications. By providing a structured approach to accessing and interpreting EXR files, the LoadExr node enables you to leverage the rich data contained within these files for enhanced image creation and manipulation.

Load EXR Input Parameters:

image_path

The image_path parameter specifies the file path to the EXR file you wish to load. This parameter is crucial as it directs the node to the correct file location, allowing it to open and read the file's contents. The path should be a valid string pointing to an existing EXR file on your system. There are no specific minimum or maximum values for this parameter, but it must be a valid path to function correctly. Ensure that the path is accurate and accessible to avoid errors during the loading process.

Load EXR Output Parameters:

all_subimage_data

The all_subimage_data output parameter is a dictionary that contains the pixel data for each subimage within the EXR file. Each entry in the dictionary corresponds to a subimage, with the key being the subimage index and the value being a numpy array of the pixel data. This array is structured with dimensions corresponding to the height, width, and number of channels of the subimage, allowing for easy manipulation and analysis. This output is essential for accessing the detailed image data stored in EXR files, enabling you to utilize this information in further image processing tasks.

Load EXR Usage Tips:

  • Ensure that the image_path is correctly specified and points to a valid EXR file to avoid file access errors.
  • Use the all_subimage_data output to access and manipulate specific subimages within the EXR file, taking advantage of the high precision and multiple channels available.
  • Consider the structure of the numpy arrays in all_subimage_data when performing operations on the image data, as this will affect how you process and interpret the pixel values.

Load EXR Common Errors and Solutions:

Error loading EXR file <image_path>: <error_message>

  • Explanation: This error occurs when the node fails to open or read the specified EXR file, possibly due to an incorrect file path or file access permissions.
  • Solution: Verify that the image_path is correct and that the file exists at the specified location. Ensure that you have the necessary permissions to access the file.

Failed to read image data for subimage <current_subimage> from <image_path>

  • Explanation: This warning indicates that the node was unable to read the pixel data for a specific subimage within the EXR file, which may be due to file corruption or unsupported subimage formats.
  • Solution: Check the integrity of the EXR file and ensure it is not corrupted. If the file is valid, consider using a different tool to verify the subimage format and compatibility.

Error processing RGB layer <group_name>: <error_message>

  • Explanation: This warning suggests that there was an issue processing a specific RGB layer within the EXR file, potentially due to missing channels or unexpected data formats.
  • Solution: Inspect the EXR file to ensure that all expected channels are present and correctly formatted. If necessary, adjust the file or use a different tool to preprocess the data before loading it with the node.

Load EXR 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.