Summary: | Gamma not applied correctly to PNG | ||
---|---|---|---|
Product: | [Applications] gwenview | Reporter: | Ancoron <ancoron.luciferis> |
Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | 21.08.1 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Original gradient with default gamma |
Just upgraded the system to check if anything has changed, but no. gwenview version: 21.12.2 SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 21.10 KDE Plasma Version: 5.24.0 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 *** This bug has been marked as a duplicate of bug 441162 *** |
Created attachment 146704 [details] Original gradient with default gamma SUMMARY Gamma applied incorrectly. STEPS TO REPRODUCE 1. Create a gradient (sets gamma by default to 1/2.2): `convert -size 1280x720 -define gradient:vector=32,32,1248,688 gradient:#ff0000-#00ffff gradient.png` 2. Open image `gradient.png` in gwenview OBSERVED RESULT Colors are way too bright. EXPECTED RESULT Colors are correct. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 21.04 KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION When inverting the gamma value the image is displayed correctly, but metadata is actually wrong and other programs will make the image look wrong: `convert gradient.png -set gamma 2.2 gradient-inverted-gamma.png`