Questions tagged [openexr]

OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.

OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.

OpenEXR is used by ILM on all motion pictures currently in production. The first movies to employ OpenEXR were Harry Potter and the Sorcerers Stone, Men in Black II, Gangs of New York, and Signs. Since then, OpenEXR has become ILM's main image file format.

OpenEXR's features include:

  • Higher dynamic range and color precision than existing 8- and 10-bit image file formats.
  • Support for 16-bit floating-point, 32-bit floating-point, and 32-bit integer pixels. The 16-bit floating-point format, called "half", is compatible with the half data type in NVIDIA's Cg graphics language and is supported natively on their new GeForce FX and Quadro FX 3D graphics solutions.
  • Multiple lossless image compression algorithms. Some of the included codecs can achieve 2:1 lossless compression ratios on images with film grain.
  • Extensibility. New compression codecs and image types can easily be added by extending the C++ classes included in the OpenEXR software distribution. New image attributes (strings, vectors, integers, etc.) can be added to OpenEXR image headers without affecting backward compatibility with existing OpenEXR applications.

ILM has released OpenEXR as free software. The OpenEXR software distribution includes:

  • IlmImf, a library that reads and writes OpenEXR images.
  • Half, a C++ class for manipulating half values as if they were a built-in C++ data type.
  • Imath, a math library with support for matrices, 2d- and 3d-transformations, solvers for linear/quadratic/cubic equations, and more.
  • exrdisplay, a sample application for viewing OpenEXR images on a display at various exposure settings.

The OpenEXR software distribution is now licensed under the modified BSD license.1

Attribution and Source Material

103 questions
1
vote
1 answer

Trying to extract a subimage using python and openimageIO fails

I just getting into writing stuff using OpenImageIO. I my experiment, I'm trying to extract a few select sub images from an exr file and write them into another one. But when I try the following examples from the documentation and I keep getting an…
eoses
  • 15
  • 3
1
vote
0 answers

Visual Studio and cmake errors when compiling openexr for windows

Apologies because I'm pretty new and inexperienced at this but I'm trying to compile OpenExr-2.3.0 (downloaded from http://www.openexr.com/downloads.html and extracted to a 'exr_2_3_0' directory) on Windows with cmake and Visual Studio 15. I'm just…
Paddy
  • 13
  • 4
1
vote
1 answer

Not able to change channel depth of EXR file using ImageMagick with openEXR

I want to convert 16 bit (HALF) exr image into 32 bit exr image. I am trying to do it using ImageMagick built with openEXR, But I am not able to do the the same. I have Build ImageMagick-7.0.8-23-Q8-windows-x64-static with HDRI flag enabled. I am…
1
vote
0 answers

How long does the "./configure make make install" code take to run?

I am trying to built an OpenEXR library in Windows visual studio 2017. First I have to build ilmbase (version 2.3.0). I put "./configure" in as code in windows visual studio and have it running. It has been running for almost 2 hours now. The…
1
vote
0 answers

Not able to create multilayered tiff image using FreeImage

Been trying for 2 days now without any luck. My goal is to take 2 arrays of data that we normally create 2 exr files from, and create a multilayered/multipage TIFF file (FreeImage only support multipage for tif, gif and ico, and we need this to work…
chikuba
  • 4,229
  • 6
  • 43
  • 75
1
vote
1 answer

Python crashes trying to view EXR files in PYQT5

I'm trying to load two exr files and load them into labels on the gui so I can view the two files side by side. I can get one to work but when I try to load both python crashes. Below is my code: def exrToJpgGamma(exrfile): file =…
Matthew
  • 393
  • 2
  • 4
  • 15
1
vote
0 answers

Cannot write to Z channel using OpenEXR

I'm trying the read/write examples in the following official documentation: ReadingAndWritingImageFiles.pdf But I can't write to the Z channel. The image is all black in exrdisplay(the official EXR viewer) even the exposure is max. If I replace 'Z'…
chaosink
  • 1,329
  • 13
  • 27
1
vote
0 answers

Import Error after installing OpenEXR

I have installed OpenCV 3.0 in my system as given on this page. After successful installation, I imported cv2 from python, but it gives this error ImportError: libIlmImf.so.6: cannot open shared object file: No such file or directory After this…
1
vote
4 answers

How to build OpenEXR 2.2 using Visual Studio 14 2015 x64?

I am using CMake 3.7.1. I want to build OpenEXR 2.2 using Visual Studio 2015 x64. The release version contains detailed build instructions: Launch a command window, navigate to the IlmBase folder with CMakeLists.txt,and type command: setlocal…
Vertexwahn
  • 7,709
  • 6
  • 64
  • 90
1
vote
2 answers

Photoshop EXR Open Options

I currently have a script which processes .exr files, and when manually opening an exr file you are given the option of opening with transparency or with alpha. However, when scripting the opening of an .exr you are given no such options. There is…
1
vote
1 answer

Combine EXR images

I encountered some issues to combine EXR. With PNG or anything else, no problem (with ImageMagick). I have 4 images at same size, which should be combined to get a bigger image. Each image represents a part of the bigger image (top left, top right,…
pierallard
  • 3,326
  • 3
  • 21
  • 48
1
vote
1 answer

OpenEXR + OpenGL unhandled exception

I've had quite a lot problems when trying to execute an example from OpenGL SuperBible 5th ed. from Chapter09/hdr_bloom. Problems were caused from linking OpenEXR libs so I've build them manualy and replaced them with libs from authors. Right now, I…
Patryk Krawczyk
  • 1,342
  • 1
  • 14
  • 25
1
vote
1 answer

Nuke undefined symbol: _ZN9Imath_2_16Rand325nextfEv

I am compiling a plugin for Nuke8 under linux. All compiling is done without issue but i have the following error when i try to load the plug : undefined symbol: _ZN9Imath_2_16Rand325nextfEv When i do "ldd" onto the plugin.so, i have…
jujut
  • 11
  • 1
1
vote
0 answers

OSX linking program: undefined symbols for x86_64

I have a program that runs correctly when using .png files. I'm trying to convert it to support OpenEXR. The program is compiled with macports g++-mp-4.5, and links against macports's openexr1.7. Relevant parts of the compile…
forgotmysocks
  • 355
  • 1
  • 3
  • 9
0
votes
1 answer

convert EXR to PNG using Rust

Hello I wanted to convert OpenEXR format file to png file. I found this example from exr crates and ran code. However, the result of converted png file has different color from the original. EXR file : Converted Png file: Image crate also has…
Youdi
  • 36
  • 5