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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/6f5374791
                   |                            |2fe1da4ad4df9dac2f4a6fa2160
                   |                            |d07a
             Status|CONFIRMED                   |RESOLVED

--- Comment #3 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 6f53747912fe1da4ad4df9dac2f4a6fa2160d07a by Dmitry Kazakov.
Committed on 11/10/2021 at 09:47.
Pushed by dkazakov into branch 'master'.

Fix linking color space of Alpha color spaces

Before the patch, the alpha color spaces could be interpreted in
multiple different ways, depending on the conversion destination.
When it was converted into rgb8 or graya8, it was interpreted as
srgb-gamma corrected graya space. But when the conversion was
requested for rgb16 or graya16 color space (e.g. in color smudge
tool), the conversion happened through the LabA color space, which
is linear. It caused rendering issues, when painting with color
smudge brushes on transparency masks (or any alpha8-based layers).

This patch fixes the issues and makes "Gray-D50-elle-V2-srgbtrc" to
be the only linking color space for alpha colorspaces. Which basically
means that all the flavours of alpha color space are now basically
flattened versions of srgb-gamma-corrected graya color space.
CC:kimages...@kde.org

M  +22   -0    libs/pigment/KoColorConversionSystem.cpp
M  +12   -0    libs/pigment/KoColorConversionSystem.h
M  +33   -2    libs/pigment/KoColorConversionSystem_p.h
M  +12   -4    libs/pigment/colorspaces/KoAlphaColorSpace.cpp
M  +1    -8    libs/pigment/colorspaces/KoAlphaColorSpace.h
M  +164  -6    libs/pigment/tests/TestColorConversionSystem.cpp
M  +1    -0    libs/pigment/tests/TestColorConversionSystem.h

https://invent.kde.org/graphics/krita/commit/6f53747912fe1da4ad4df9dac2f4a6fa2160d07a

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

Reply via email to