This python package converts EXR images into several image file formats, back and forth.
The conversion also allows for the output image file to contain pixels of different data type to those
in the input image file (if permitted by the file format)
-
OpenEXR C++ library.
Source code located in https://github.com/openexr/openexr
There are several options for installing it:
-
Directly in linux or mac:
Ubuntu:
sudo apt-get install libopenexr-dev openexrMac:
sudo port install openexr -
Using Conda:
conda install -c conda-forge openexrFor more options, see https://anaconda.org/conda-forge/openexr
-
-
OpenEXR python bindings.
Install them by running:
pip install openexrSource code located in https://github.com/jamesbowman/openexrpython
Note that if you installed the OpenEXR C++ library with
conda, you might need to clone and manually install this repo, since you might need to modify the base paths ininclude_dirsandlibrary_dirs(defined in https://github.com/jamesbowman/openexrpython/blob/master/setup.py) to match the library base paths in your Anaconda installation.
-
Clone the repository:
git clone https://github.com/idies/exr-converter -
Enter the
./exr-converterdirectory and runpython setup.py install -
Make sure all python packages listed in
requirements.txtare already installed locally.pip install -r requirements.txt
Located in ./examples