https://bugs.kde.org/show_bug.cgi?id=450205

            Bug ID: 450205
           Summary: Gamma not applied correctly to PNG
           Product: gwenview
           Version: 21.08.1
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: ancoron.lucife...@gmail.com
  Target Milestone: ---

Created attachment 146704
  --> https://bugs.kde.org/attachment.cgi?id=146704&action=edit
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`

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to