ComfyUI > Nodes > ComfyUI_Gear > Gear · LogC3 Decode + Save EXR

ComfyUI Node: Gear · LogC3 Decode + Save EXR

Class Name

GearLogC3DecodeSaveEXR

Category
Gear/HDR
Author
oumad (Account age: 3704days)
Extension
ComfyUI_Gear
Latest Updated
2026-05-04
Github Stars
0.03K

How to Install ComfyUI_Gear

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

Gear · LogC3 Decode + Save EXR Description

Converts LogC3 HDR images to EXR format, preserving accuracy and quality, with tonemapped preview for AI artists.

Gear · LogC3 Decode + Save EXR:

The GearLogC3DecodeSaveEXR node is designed to facilitate the conversion and storage of high dynamic range (HDR) images encoded in the LogC3 format into a more accessible scene-linear HDR format. This node is particularly beneficial for AI artists working with HDR content, as it not only decodes the LogC3 images but also saves them in the widely-used EXR format, which is ideal for high-fidelity image processing and storage. The node leverages advanced mathematical transformations to ensure that the HDR data is accurately represented in a linear format, making it suitable for further processing or grading. Additionally, it provides a tonemapped preview of the HDR content, allowing users to visualize the results in a more standard dynamic range, which is crucial for making informed adjustments and decisions during the creative process. By automating the conversion and saving process, this node streamlines workflows and ensures that HDR images are preserved with high precision and quality.

Gear · LogC3 Decode + Save EXR Input Parameters:

image

This parameter represents the HDR image input that is encoded in the LogC3 format. It is crucial for the node's operation as it serves as the source data that will be decoded and processed. The image should be in the range of [0,1], which is typical for LogC3 encoded images.

filename_prefix

This string parameter allows you to specify a prefix for the filenames of the saved EXR files. It supports various tokens such as %year%, %month%, %day%, %hour%, %minute%, %second%, and %batch_num%, which are automatically replaced with the corresponding values. This feature ensures that each saved file has a unique name, preventing overwriting. The default value is gear_hdr/%year%%month%%day%_%hour%%minute%%second%.

preview_ev

This float parameter controls the exposure value for the tonemapped preview. It allows you to adjust the brightness of the preview image to better match your desired visualization. The parameter accepts values ranging from -8.0 to 8.0, with a default value of 0.0, and can be adjusted in increments of 0.5.

save_exr

This boolean parameter determines whether the decoded HDR images should be saved as EXR files. When set to True, the node will save the images in the specified output directory. The default value is True, enabling automatic saving of EXR files unless explicitly disabled.

Gear · LogC3 Decode + Save EXR Output Parameters:

hdr_linear

This output provides the scene-linear HDR image, which is the result of decoding the LogC3 input. The values in this image can exceed 1.0, making it suitable for further processing or grading in HDR workflows. This output is essential for maintaining the high dynamic range of the original content.

tonemapped_preview

This output offers a tonemapped version of the HDR image, adjusted according to the specified preview_ev value. It is designed for display in standard dynamic range, allowing you to visualize the HDR content in a more familiar format. This preview is particularly useful for assessing the image's appearance and making creative decisions.

exr_paths

This output is a string containing the newline-joined absolute paths of the saved EXR files. If save_exr is set to False, this output will be an empty string. The paths provided here are crucial for locating the saved files on your system and integrating them into your workflow.

Gear · LogC3 Decode + Save EXR Usage Tips:

  • Ensure that your input image is correctly encoded in the LogC3 format to achieve accurate decoding and conversion results.
  • Utilize the filename_prefix parameter to organize your saved files systematically, especially when working with batch processes or multiple projects.
  • Adjust the preview_ev parameter to fine-tune the tonemapped preview's exposure, helping you better visualize the HDR content in standard dynamic range.
  • Keep the save_exr parameter enabled if you need to preserve the decoded HDR images for further editing or archival purposes.

Gear · LogC3 Decode + Save EXR Common Errors and Solutions:

Error: "Invalid image format"

  • Explanation: This error occurs when the input image is not in the expected LogC3 format.
  • Solution: Verify that the input image is correctly encoded in LogC3 and within the [0,1] range before processing.

Error: "Failed to save EXR file"

  • Explanation: This error might arise if there are issues with the output directory permissions or if the directory does not exist.
  • Solution: Ensure that the output directory is correctly set up and that you have the necessary permissions to write files to it. Check the directory path for any errors or typos.

Error: "Preview exposure value out of range"

  • Explanation: This error indicates that the preview_ev value is outside the allowed range of -8.0 to 8.0.
  • Solution: Adjust the preview_ev parameter to fall within the specified range to ensure proper tonemapping of the preview image.

Gear · LogC3 Decode + Save EXR Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_Gear
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 Models, enabling artists to harness the latest AI tools to create incredible art.

Gear · LogC3 Decode + Save EXR