Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-OCIO > OCIO LogConvert

ComfyUI Node: OCIO LogConvert

Class Name

OCIOLogConvert

Category
OCIO
Author
SlavaSexton (Account age: 3315days)
Extension
ComfyUI-OCIO
Latest Updated
2026-07-19
Github Stars
0.07K

How to Install ComfyUI-OCIO

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

OCIO LogConvert Description

Facilitates conversion between linear and logarithmic color spaces for accurate color grading and visual effects workflows.

OCIO LogConvert:

The OCIOLogConvert node is designed to facilitate the conversion between linear and logarithmic color spaces, which is a crucial process in color grading and visual effects workflows. This node supports a variety of log curves, including Cineon, ACEScct, ACEScc, ARRI LogC3, ARRI LogC4, and several camera-native log curves such as Sony S-Log3, Panasonic V-Log, Canon Log 3, RED Log3G10, and Blackmagic DaVinci Intermediate. These curves are essential for decoding camera-log footage to linear color space without assuming the camera's gamut, allowing for more accurate color representation and manipulation. The node operates independently of external dependencies, making it versatile and easy to integrate into different workflows. By converting footage to a linear color space, you can achieve more precise color adjustments and maintain the integrity of the original footage throughout the post-production process.

OCIO LogConvert Input Parameters:

operation

The operation parameter specifies the direction of the conversion, either from linear to logarithmic (lin_to_log) or from logarithmic to linear (log_to_lin). This choice determines how the input data will be transformed, affecting the resulting color space and the subsequent color grading process. The available options are lin_to_log and log_to_lin, with no default value specified, as the choice depends on the specific needs of your workflow.

curve_name

The curve_name parameter defines the specific log curve to be used for the conversion. This parameter is crucial as it determines the mathematical model applied to the input data, affecting the tonal range and contrast of the output. The available options include Cineon, ACEScct, ACEScc, ARRI LogC3, ARRI LogC4, Sony S-Log3, Panasonic V-Log, Canon Log 3, RED Log3G10, and Blackmagic DaVinci Intermediate. Each curve is tailored to specific camera systems or industry standards, allowing for flexibility and precision in color management.

mix

The mix parameter controls the blending between the original and converted data, allowing for a smooth transition between the two states. This parameter is particularly useful for achieving subtle effects or for gradually applying the conversion to maintain certain aspects of the original footage. The mix value ranges from 0.0 to 1.0, with 0.0 representing no conversion and 1.0 representing full conversion. The default value is typically set to 1.0 for complete conversion, but it can be adjusted based on artistic preferences or technical requirements.

OCIO LogConvert Output Parameters:

converted_image

The converted_image parameter represents the output of the conversion process, providing the transformed image data in the desired color space. This output is crucial for further color grading, compositing, or visual effects work, as it ensures that the footage is in the correct format for subsequent processing. The converted_image maintains the integrity of the original data while applying the specified log curve, allowing for accurate and consistent color representation across different stages of production.

OCIO LogConvert Usage Tips:

  • When working with footage from different camera systems, ensure you select the appropriate curve_name to match the camera's log profile for accurate color conversion.
  • Use the mix parameter to gradually apply the conversion effect, which can be useful for blending the original and converted images to achieve a desired artistic look.
  • Always verify the direction of conversion (operation) to ensure that the footage is transformed correctly, as applying the wrong direction can lead to unexpected results.

OCIO LogConvert Common Errors and Solutions:

"This node needs OpenColorIO. Install it: pip install opencolorio."

  • Explanation: This error occurs when the OpenColorIO library is not installed, which is required for the node to function properly.
  • Solution: Install the OpenColorIO library by running the command pip install opencolorio in your terminal or command prompt.

"Invalid curve name specified."

  • Explanation: This error indicates that the curve_name provided does not match any of the supported log curves.
  • Solution: Double-check the spelling and ensure that the curve_name matches one of the supported options, such as Cineon, ACEScct, or ARRI LogC3.

"Invalid operation specified."

  • Explanation: This error occurs when the operation parameter is set to a value other than lin_to_log or log_to_lin.
  • Solution: Ensure that the operation parameter is correctly set to either lin_to_log or log_to_lin based on the desired conversion direction.

OCIO LogConvert Related Nodes

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

OCIO LogConvert