OpenEXR

OpenEXR provides the specification and reference implementation of the EXR file format, the professional-grade image storage format of the motion picture industry.

The purpose of the EXR format is to accurately and efficiently represent high-dynamic-range scene-linear image data. This is a significant difference from most image formats, which store images that are ready for display. Software may need to process OpenEXR images differently from other image formats such as JPEG (see Scene-Linear Image Representation for more details). OpenEXR files have strong support for multi-part, multi-channel use cases, and extensive representation of associated metadata.

OpenEXR is widely used in host application software where accuracy is critical, such as photorealistic rendering, texture access, image compositing, deep compositing, and DI.

OpenEXR is a project of the Academy Software Foundation.

Latest News

_images/news.png

May 24, 2026 - OpenEXR 3.4.12 Released

Patch release that addresses several bugs and security vulnerabilities.

  • 🐛 Fix several minor memory leaks recovering from reading invalid files.

  • 🐛 The compressor API incorrectly identfied HTJ2K and HTJ2K256 as lossy; they are lossles.

  • 🐛 Fix CMake AVX feature detection that caused DWA SIMD code to fail on certain architectures.

  • ⚠️ The WidenFilename utility function is marked as deprecated, to be removed in a future release.

  • exrmetrics now print the on-disk size of the data portion of each part. Useful for determining compression impact on part data

For the python module:

  • 🐍 🐛 Reject files where the dataWindows does not match the pixel array dimensions.

  • 🐍 ✨ Support NumPy float vector attributes

  • 🐍 ✨ Reading now skips over invalid parts, returns the valid parts only.

  • 🐍 📖 Doc strings have proper indentation

This release addresses the following security vulnerabilities:

Imath

The OpenEXR project includes Imath, a basic, light-weight, and efficient C++ representation of 2D and 3D vectors and matrices and other simple but useful mathematical objects, functions, and data types common in computer graphics applications, including the half 16-bit floating-point type.

Imath also includes optional python bindings for all types and functions, including optimized implementations of vector and matrix arrays.

Quick Start

You can install OpenEXR using package managers or build the library yourself from the source on github following the compile instructions

For a simple program that uses the C++ API to read and write a .exr file, see the Hello, World examples.

Community

Resources