jpegview
jpegview copied to clipboard
Add HDR support
like support for *.jxr files. Now when I open a HDR file, it will be too dark or too bright.
Can you give an example of an HDR file? In which file format?
Can you give an example of an HDR file? In which file format?
I upload a comparison picture.
It comes from the HDR screenshot that comes with Windows.
You can use the Win + Alt + PrtSc keys to get pictures in HDR mode, and that will get a JXR file.
One more sample image, JPEG XL. It looks dark and dull on my Windows 11 system that doesn't support HDR.
- Where I found it: https://people.csail.mit.edu/ericchan/hdr/hdr-jxl.php
- Image in question: https://people.csail.mit.edu/ericchan/hdr/jxl_images/20140606_102418_IMGP0297.jxl
Screenshot showing Thorium browser vs. JPEGView v1.2.45.0:
For comparison, following programs seems to display this sample image correctly:
- GIMP v2.10.34
- PhotoQt v3.4
- Thorium Browser (thorium-win-avx2) v117.0.5938.157
Here is another one in AVIF format: https://raw.githubusercontent.com/AOMediaCodec/av1-avif/master/testFiles/Netflix/avif/hdr_cosmos01650_cicp9-16-9_yuv420_limited_qp10.avif
On SDR displays, it should look like this: https://raw.githubusercontent.com/AOMediaCodec/av1-avif/master/testFiles/Netflix/avif/sdr_cosmos01650_cicp1-13-6_yuv420_limited_qp10.avif
Source: reddit
I verified that the latest version of Chrome handles both images correctly (with my Display's HDR on and off).