Cannot correctly open PFM files

Issue #8 wontfix
Tzu-Chieh Chang created an issue

To reproduce the problem, simply load the example .pfm file from Paul Debevec’s site:

http://www.pauldebevec.com/Research/HDR/PFM/

The viewer shows up an upside down image.

Comments (2)

  1. Wojciech Jarosz repo owner

    HDRView’s behavior is consistent with Photoshop. Row order does seem to be a prevalent difference between PFM loaders though (e.g. loading a PFM in Apple’s Preview results in a flip compared to Photoshop). So, unfortunately, whatever convention is taken, it will be incompatible with some other programs/PFM files. Luckily, if you run into a PFM file that is flipped, you can always flip the image vertically in the edit panel.

  2. Log in to comment