Problems decoding several OpenEXR reference files
Closed this issue · 2 comments
I have problems with several files from the OpenEXR test images folder, for example with this one:
https://raw.githubusercontent.com/AcademySoftwareFoundation/openexr-images/main/v2/LeftView/Balls.exr
(single part, ZIPS compression).
On trying to load it, I get "Load EXR err: Invalid/Corrupted data found when decoding pixels."
Using other (OpenEXR based) loaders, the files work fine.
Any idea what could be the issue?
You can set a watchpoint on invalid_data
in a debugger then you'll find something.
Line 5398 in 6c8742c
As you can see, current implementation lacks detailed error reports. Contribution of better error reporting is much appreciated!
Balls.exr has deepscanline format,
https://openexr.com/en/latest/test_images/index.html#stereo-images
which is not supported in current tinyexr.
Filed as another issue: #211