#24 Support for EXR where Display win > Data win


With Luminance-hdr 2.3.0, I wasn't able to open some EXR files generated with recent Hugin versions.
I got an error like "ERROR: Failed loading file:".

After an analysis, the problem is due to the generated EXR file where the Display windows is greater than the Data window.
Example :
readEXRfile Display window : (0 - 3492)(0 - 5234)
readEXRfile Data window : (64 - 3492)(73 - 5234)

But these files are correctly opened by many applications (like Digikam, ShowPhoto or Okular).

So, by using the OpenEXR documentation, I propose a patch in attachment which solves this problem.
I have tested with some .exr files from my HD, and for the moment, I haven't found any problem but a developper should review it.

1 Attachments


  • Davide

    Davide - 2013-01-28
    • status: open --> accepted
    • assigned_to: Davide
  • Davide

    Davide - 2013-01-28

    Patch accepted, thanks a lot!

  • Daniel Kaneider

    Daniel Kaneider - 2015-04-11
    • status: accepted --> closed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks