d2phap / ImageGlass

🏞 A lightweight, versatile image viewer
https://imageglass.org
Other
7.79k stars 501 forks source link

HDR images are too dark / colors are way off #956

Closed ASOwnerYT closed 1 year ago

ASOwnerYT commented 3 years ago

System information:

To Reproduce

Steps to reproduce the behavior:

  1. Open any HDR image in both ImageGlass, and mostly any other image viewers (such as the Windows 10 default image viewer)
  2. Compare the two, and in ImageGlass the image is way darker than it should

Actual behavior:

When I view an OpenEXR image in ImageGlass, the colors are way off, and it appears darker. This also happens when I convert the OpenEXR image to PNG using AConvert, so I think it is because it is an HDR image.

Expected behavior:

The image colors should look the same to when it is viewed in the Windows 'Photos' app.

Screenshots:

image

Additional context:

OpenEXR image file: https://mega.nz/file/7f5QBAjb#BIzLjO4ZbWsQRHbtTaLmvK4WS9O1JXffzjQWng_Xb-0

robinfriedli commented 2 years ago

I have the same problem with JXL files containing HDR content created by Mirillis Action: image (of course the right side looks a bit off / washed out in an SDR screenshot, but it's closer to what it should look like).

Here's the jxl image: https://mega.nz/file/tXlkRJBb#PmEpeJwc3z9vHeBisy6f0OaMDDrh4T_HXAYBQWUsyyA Here's an SDR PNG of how it should look like: https://mega.nz/file/lHtHXAwD#z5G4PIw4cjKX1B15ITYzuTW2W95VoAJQ-gPVYkpXwuE

pedrodeleo commented 2 years ago

I'm having the exact same problem with EXR images, colors are way too dark! It's weird because it didn't use to be like that, ImageGlass was my favorite image viewer by far because of the EXR/HDR capabilities but now I can't use it anymore. Any chance to update this?

d2phap commented 2 years ago

@ASOwnerYT tested you EXR image with ImageGlass 9.0 beta 2, the color seems correct.

image

d2phap commented 2 years ago

@robinfriedli I open your JXL with GIMP 2.10.32 (revision 1) and ImageGlass 9.0 beta 2, both render the same. Can you try opening it in other viewers?

image

pedrodeleo commented 2 years ago

I just tested the 9.0 beta 2 and it looks like this problem is fixed!! The image sequence on the bottom still looks too dark but the main image looks accurate! Great job! Screenshot 2022-10-14 153757 (LEFT SIDE: ImageGlass 9.0 beta 2, RIGHT SIDE: DJV 2)

Happy to go back to my favorite image viewer :)

d2phap commented 2 years ago

Thanks @pedrodeleo!