Bug 481863

Summary: HDR images are not shown as HDR
Product: [Applications] gwenview Reporter: Lucia Mrenica <lucia.mrenica>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: REPORTED ---    
Severity: normal CC: 4wy78uwh, bugreports.l7dy6, dashonwwIII, kimiblock, kiwifruit, mircomir, postix, q1q2q3
Priority: NOR    
Version First Reported In: 24.01.95   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lucia Mrenica 2024-02-26 14:55:43 UTC
SUMMARY
As the title says Gwenview doesn't show HDR images as HDR but as if they are in SDR.
Tested with these: https://github.com/MishaalRahmanGH/Ultra_HDR_Samples/tree/main/Originals
Coincidentally windows photo app can't do this either.
Comment 1 Roke Julian Lockhart Beedell 2024-05-22 14:48:36 UTC
(In reply to Matej Mrenica from comment #0)
Would you consider https://krita-artists.org/t/hdr-pngs-are-rendered-by-all-but-krita-at-50-opacity/92058?u=beedellrokejulianloc to be an example of this?
Comment 2 Mirco Miranda 2024-07-09 06:02:52 UTC
The images are loaded by the Qt plugin. It must be the first to support the HDR format in JPGs. I tried to load the JPGs you indicated with Qt 6.8 and the plugin returns 8-bit images (therefore SDR).
The only Qt plugin that supports* HDR images I believe is TIFF (FP). The EXR, HDR, JXR and PFM formats from KImageFormats will support HDR images when MR !232 is merged (https://invent.kde.org/frameworks/kimageformats/ -/merge_requests/232).

(*) "supports" means that FP data outside the 0-1 range is loaded and saved correctly and ICC conversions are possible. Not having an HDR monitor I have no idea if this is enough.
Comment 3 a 2025-11-12 01:19:39 UTC
https://invent.kde.org/frameworks/kimageformats/-/merge_requests/232 is merged now. but still no hdr on a exr image