Bug 483567 - Gwenview Cannot Display JPG Photos (P3 Wide Gamut)
Summary: Gwenview Cannot Display JPG Photos (P3 Wide Gamut)
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Nick
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-14 15:41 UTC by John
Modified: 2024-07-06 19:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
JPG Wide Gamut P3 - Logo on Red Should Be Visable (19.80 KB, image/jpeg)
2024-03-14 15:41 UTC, John
Details
Confirmed behaviour. (64.58 KB, image/png)
2024-03-15 16:19 UTC, Nick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John 2024-03-14 15:41:02 UTC
Created attachment 167177 [details]
JPG Wide Gamut P3 - Logo on Red Should Be Visable

STEPS TO REPRODUCE

1. Open Gwenview
2. Click the attatched photo.

OBSERVED RESULT
JPG wide gamut photos (P3) cannot be displayed. It should display webkit logo on a red background. This is a test from google/webkit/blink and joint picture expert group (google phones, browsers, apple phones can make such photos, importing and viewing them in KDE will fail). There's no logo. NO LOGO = FAIL.

EXPECTED RESULT
Fix the support for google/android and apple phones and their photos (wide gamut png, aka P3- see wikipedia, you know there's not only Adobe on this world...adobe srgb...). Webikit logo on Red should be visible. If there is no logo, then there's no support. NO LOGO=NO SUPPORT.

SOFTWARE/OS VERSIONS:
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: X11
Graphics Processor: Intel Only

ADDITIONAL INFORMATION:
$ pacman Qs 'xxxx':
kdesdk-thumbnailers 24.02
kdegraphics-thumbnailers 24.02
ffmpegthumbs 24.02
qt6-imageformats 6.6.2
kimageformats 6.0.0
libpng 1.6.43
libavif 1.0.4
libheif 1.17.6
libwebp 1.3.2
libjxl 0.10.2
webp-pixbuf-loader 0.2.7
libjpeg-turbo 3.0.2
openjpeg2 2.5.2


P.S. Gwenview displays thumbnails (click "browse" in top left) correctly. There is red background and webkit logo on it, but Gwenview cannot display this photo. It displays only red background, but no logo, hence fail.
Comment 1 Nick 2024-03-15 16:19:31 UTC
Created attachment 167271 [details]
Confirmed behaviour.

I can confirm the same issue running the latest Neon.
Comment 2 Romário Rios 2024-03-24 04:13:17 UTC
From what I'm understanding according to this: https://www.wide-gamut.com/, you need to have a monitor that supports wide gamut to be able to see it. My monitor doesn't support it, so I'm unable to see anything. If you have a monitor with support for wide gamut, can you provide an example that does work for you?

In any case, I think Gwenview uses libjpeg to display JPEG images, so its support is entirely dependent on libjpeg, I suppose? I tried looking for some information on whether libjpeg supports wide gamut or not and I found it to be a difficult. Some people[1] say it does, but it seems[2] most builds have it disabled by default. I feel like this should be an upstream bug.

[1]: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/222#issuecomment-382093583
[2]: https://news.ycombinator.com/item?id=37798069