GUI which displays HDR images, no bullshit.
- Opens popular HDR image formats: Radiance PIC (*.pic, *.hdr), PFM (*.pfm, *.ppm), OpenEXR (*.exr)
- Exports images in Radiance PIC, PFM or OpenEXR format
- Fast zoom, pan and brightness control
- Manage multiple image documents in tabs
- Compare opened images (absolute difference or side-by-side)
- Thumbnails in Windows shell
The only prerequisite is that Qt 5.5 or newer is installed on the system.
git clone https://github.com/Acly/hdrv.git hdrv
cd hdrv
git submodule update --init
mkdir build
cd build
Updating submodules will download the required boost modules. You
can skip this step and use an existing boost installation by passing "BOOST_ROOT=/path/to/boost/include"
to qmake in the next step.
qmake -tp vc -r ../hdrv.pro
This generates a Visual Studio solution which can be used to build the application.
After building, runtime libraries can be copied with windeployqt --qmldir ../viewer/view viewer/release/hdrv.exe
.
Tested using Visual Studio 2015 Update 2 x64.
A thumbnail shell integration is present for Windows in the subproject thumbnails. On x86 Windows installations the project must be compiled as x86 target and vice versa for x64 Windows installations to be compatible.
You can use the buttons in the UI to (un)install the thumbnail handler.
Note that you should not move/delete the thumbnails.dll
without uninstalling it beforehand.
To register the extension manually use an elevated shell and type:
regsvr32 thumbnails.dll
Removing the extension works by adding /u
to the command:
regsvr32 /u thumbnails.dll
Building requires a C++14 compiler and OpenEXR 2.2.0 to be installed. Most distributions have precompiled packages available. To build run:
qmake .. && make
Tested using GCC 5.
Load images by supplying them as arguments to the hdrv executable, drag-and-drop them into the viewer or use the Open image button in the tab bar.
- [ Pan ] Hold the left mouse button to view different regions of the image if it does not fit on the screen.
- [ Zoom ] Use the mouse wheel to scale the image.
- [ Compare ] Hold the right mouse button in comparison mode to move the image comparison separator.
- [ +/- ] Increase / decrease the image brightness.
- [ Left/Right ] Iterate through images in the current folder.
- [ 1/2/3/... ] Switch to image tab 1, 2, 3, ...
- [ S ] Toggle between the last two image tabs.
- [ C ] Open comparison mode for the last two images.
- [ R ] Reset positioning and scaling of the image.
- Show more stats (average / maximum / minimum color)
- High quality tone mapping
- Better support for existing formats (encodings, layouts)