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
0
votes
1 answer

Syntax errors on "pip install openexr": Wrong compiler?

I am trying to install (compile) the python binding for OpenEXR to my modules. I'm using Python 3.8.0. First, I've simply tried pip install openexr that results in an error caused by missing header files in a C++ installation of OpenEXR. So I've…
akuzminykh
  • 4,522
  • 4
  • 15
  • 36
0
votes
0 answers

Unresolved external symbol globalThreadCount when trying to compile a project including openexr

I've cloned the pbrt-v3 repository using Visual Studio 2017. I've tried to compile a project where I included the Transform.h, but I'm getting the following error from the linker: LNK2019 unresolved external symbol "int __cdecl…
0xbadf00d
  • 17,405
  • 15
  • 67
  • 107
0
votes
0 answers

OpenImageIO crash when open .EXR file

i´m trying to open an .exr file but the program crashes at xtree#275 I think the problem happens at exrinput.cpp#804 for (auto ci = channels.begin(); ci != channels.end(); ++c, ++ci) For more context this is the…
user3000019
  • 103
  • 1
  • 10
0
votes
1 answer

iOS Metal. How do I use the 'half' format for all color work?

The default color format for an MTKView is bgra8Unorm. I prefer to use the half format (See: OpenEXR). I am unclear which of the various formats Metal provides corresponds to half?
dugla
  • 12,774
  • 26
  • 88
  • 136
0
votes
1 answer

Loading OpenEXR single channel depth map image

I am trying to load a depth image in OpenEXR format with one channel, however, I couldn't figure out the format that I need to use based on this documentation: http://www.openexr.com/documentation/ReadingAndWritingImageFiles.pdf EDIT: I managed to…
user3178756
  • 555
  • 1
  • 5
  • 17
0
votes
1 answer

Convert OpenEXR to WebM Alpha Edges Grey

I apologise if this has been answered before. I have tried lots of options but can't seem to solve my issue. I have a sequence of OpenEXR images that I want to merge into a WebM and include transparency. This I the basics of my ffmpeg…
Castles
  • 897
  • 1
  • 10
  • 29
0
votes
1 answer

PyInstaller and OpenEXR - exe crashes

I am using PyInstaller 3.3.1 and OpenEXR 1.3.0 in my project. I create single file executable with --onefile option. This works as intended: import sys if getattr(sys, 'frozen', False): print("hello world") "hello world" is simply output into…
deshu
  • 114
  • 1
  • 12
0
votes
1 answer

Py ILM Base not compiling on windows

I've downloaded the latest copy from Latest Open EXR repo and compiled most everything without any problems. However, when I get to PyILMBase it fails. There are two distinct issues with my attempts: Error C2491 'PyImath::FixedArray::name':…
Arturo
  • 171
  • 1
  • 17
0
votes
0 answers

Write/Load OpenEXR compress file

I made an openEXR save and load functions. The load takes a stack of .hdr files from a directory and then the save function writes the .exr file which "merges" the .hdr files in one .exr file. This is working well but the .hdr files were RLE…
0
votes
1 answer

ffmpeg, reading openexr2.0 sequence "Flags 4 is not implemented"

I'm converting a sequence of exr images to a mov. The exrs have been published out of a 3d application(houdini).This has been working fine till a new version of a 3rd party render was installed (redshift 2.5.50). They state that their exr images are…
stormy
  • 13
  • 5
0
votes
1 answer

make OpenEXR for matlab2017b on ubuntu

it should be simple, but I don't understand why I'm getting this error when I try to compile using g++ -c -DTARGET_API_VERSION=700 -DMX_COMPAT_64 -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I/usr/local/include/OpenEXR …
Eisa
  • 256
  • 2
  • 13
0
votes
1 answer

Crash in openexr when trying to open openexr file on 64-bit machine

I have included openexr source code (downloaded from http://www.openexr.com/downloads.html) to decode openexr images in my project. I have built my project for 64-bit (on mac as well as on windows) and trying to open following…
0
votes
1 answer

How to find exr file is scan line or tiled image?

I have an exr file. I want to know if it is scan line or tiled. Is there any openexr api for finding that?
0
votes
1 answer

compile and link OpenEXR emscripten multiple main function defines

I'm trying to compile OpenEXR with emscripten and link it to my program that will eventually be an html file. I have no problem compiling OpenEXR with emscripten. The problem is when I try to link the .bc file with my application. I get an error…
user2204292
  • 181
  • 1
  • 4
  • 10
0
votes
2 answers

Header file not found when building under cygwin

I am trying to build a certain library under cygwin (OpenEXR), and I get the following error: b44ExpLogTable.cpp:52:18: error: half.h: No such file or directory half.h is referenced using #include , and is actually a part of another library…
Andrey Shchekin
  • 21,101
  • 19
  • 94
  • 162