sylikc / jpegview

Fork of JPEGView by David Kleiner - fast and highly configurable viewer/editor for JPEG, BMP, PNG, WEBP, TGA, GIF and TIFF images with a minimal GUI. Basic on-the-fly image processing is provided - allowing adjusting typical parameters as sharpness, color balance, rotation, perspective, contrast and local under-/overexposure.
Other
2.07k stars 123 forks source link

Add HDR support #239

Open wiketor opened 1 year ago

wiketor commented 1 year ago

like support for *.jxr files. Now when I open a HDR file, it will be too dark or too bright.

sylikc commented 12 months ago

Can you give an example of an HDR file? In which file format?

wiketor commented 11 months ago

Can you give an example of an HDR file? In which file format?

Compare 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.

o-l-a-v commented 11 months ago

One more sample image, JPEG XL. It looks dark and dull on my Windows 11 system that doesn't support HDR.

Screenshot showing Thorium browser vs. JPEGView v1.2.45.0:

image

For comparison, following programs seems to display this sample image correctly:

johncf commented 5 months ago

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).