afichet / openexr-viewer

Simple viewer for OpenEXR files with detailed metadata display
BSD 3-Clause "New" or "Revised" License
96 stars 6 forks source link
hdr images openexr openexr-files openexr-viewer viewer

OpenEXR Viewer

openexr-viewer

A simple viewer for OpenEXR files with detailed metadata probing.

You can display various types of layers, automatically combines RGB, Luminance-Chroma and Y layers.

Screenshot from 2021-09-11 01-58-27

Disclaimer

This is a very early version... expect crashes, don't expect polished piece of software ;-)

Installing

Windows

You can install OpenEXR Viewer from winget. Run in a terminal:

winget install openexr-viewer

Alternatively, there is an installer you can download from the release section: https://github.com/afichet/openexr-viewer/releases

macOS

There is prebuilt releases for macOS. You just need to download the installer in the releases section and run it.

Get the releases here: https://github.com/afichet/openexr-viewer/releases

Linux

For Arch Linux, you can use the AUR repository. To install, do:

yay -S openexr-viewer

For other distribution, there is a snap package available:

Get it from the Snap Store

sudo snap install openexr-viewer

Building

To build this package, you need Qt5 or greater and OpenEXR 3.0.1 or greater.

Linux

If your package manager does come with an older version of OpenEXR, you will have to build it your own:

cd /tmp

# Imath dependency
git clone https://github.com/AcademySoftwareFoundation/Imath.git
cd Imath
mkdir build
cd build
cmake ..
sudo make install

cd /tmp

# OpenEXR
git clone https://github.com/AcademySoftwareFoundation/openexr.git
cd openexr
mkdir build
cd build
cmake ..
sudo make install

Then, you're ready to build the software:

git clone https://github.com/afichet/openexr-viewer.git
cd openexr-viewer
mkdir build
cd build
cmake ..
make

Windows

To help for building on Windows, there is two scripts you can use:

It will generate in build/Release a shipable binary.

You will have to edit the script build_windows.bat to specify your Qt installation folder.

macOS

You can install Qt from the official website and get a recent OpenEXR release from homebrew.

brew install openexr

Then, you need to specify the of Qt's install when running CMake. For example:

mkdir build
cd build
cmake .. -DCMAKE_PREFIX_PATH=~/Qt/6.1.0/clang64

Then, you can build the package:

make

License

It is licensed under the 3-clause BSD license.

This software uses the colormaps: