Enable EXR Support

OpenCV requires the environment variable OPENCV_IO_ENABLE_OPENEXR to be set to 1 in order to enable OpenEXR read support. Here’s how to set this environment variable on Windows:

Open the System Properties

  • Press Windows + R to open the Run prompt.

  • Type sysdm.cpl and hit Enter to open System Properties.

Add-on Panel

Open Environment Variables

  • In the “System Properties” window, find and click on the “Advanced” tab.

  • Under the “Advanced” tab, click on the “Environment Variables” button. This opens the “Environment Variables” window.

Add-on Panel

Create a New System Variable

  • In the “Environment Variables” window, find the section titled “System variables.”

  • Click the “New” button to create a new system variable.

Add-on Panel

Set Variable Name and Value

  • In the new window, under “Variable name,” type: OPENCV_IO_ENABLE_OPENEXR (ensure accuracy).

  • In the “Variable value” field, type: 1 (this enables the feature).

Add-on Panel

Save and Apply Changes

  • Click “OK” to close the window after setting the variable name and value.

  • You’ll see the new variable listed under “System variables.”

  • Click “OK” in the “Environment Variables” window to save the changes.

  • Finally, click “OK” in the “System Properties” window to close it.

Check the Add-on Preferences

  • Restart Blender and navigate to the add-on preferences.

  • If the OpenEXR warning disappears, then you’ve successfully enabled OpenEXR support.