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

            Bug ID: 412283
           Summary: Layer style application results in alpha-multiplied
                    colors in the output
           Product: krita
           Version: 4.2.6
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: layer styles
          Assignee: krita-bugs-n...@kde.org
          Reporter: ak...@taisei-project.org
  Target Milestone: ---

Created attachment 122835
  --> https://bugs.kde.org/attachment.cgi?id=122835&action=edit
layerstyle-alpha-bug.kra

SUMMARY
Some (all?) layer styles seem to compute RGB values of translucent pixels
incorrectly (they are multiplied by alpha in the result).

I've attached a simple test case that demonstrates the issue. The "Circle"
layer contains an anti-aliased circle with translucent edges. The "Disable
translucency" filter layer makes all pixels fully opaque to conveniently
display their color values. The "Circle" layer has an "Inner Glow" layer style
configured in such a way that should add pure red to every pixel.

STEPS TO REPRODUCE
See attached test case

OBSERVED RESULT
The circle's edges are darkened due to bogus alpha-multiplication.

EXPECTED RESULT
The circle should appear completely yellow.

SOFTWARE/OS VERSIONS
Linux distro: openSUSE Tumbleweed 20190920
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION
I don't know if this behavior is consistent with Photoshop or not. However, I
believe it's broken and not useful.

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

Reply via email to