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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/commit/5b3b1de7f |hics/krita/commit/83a4e3010
                   |cbc033b1bf9dfbcd20a0dd53a5a |777f5c1c2b7ae385a0c2f096ae6
                   |98a3                        |a676

--- Comment #5 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 83a4e3010777f5c1c2b7ae385a0c2f096ae6a676 by Dmitry Kazakov.
Committed on 31/03/2022 at 13:43.
Pushed by dkazakov into branch 'krita/5.0'.

Fix conversions between GRAYA8<->GRAYA16

The color conversion system had a bug, which caused the conversion
to happen via ALPHA8 color space (GRAYA8<->ALPHA16<->GRAYA16). That
basically dropped the alpha channel of the GRAYA color space. It
was caused by the presence of custom connections in the alpha color
space.

The patch changes the way how connection path is searched. It implements
NodeCapabilities structure, which tracks capabilities of the nodes
used in the connection path.

M  +0    -32   libs/pigment/KoColorConversionAlphaTransformation.cpp
M  +0    -4    libs/pigment/KoColorConversionAlphaTransformation.h
M  +13   -27   libs/pigment/KoColorConversionSystem.cpp
M  +0    -10   libs/pigment/KoColorConversionSystem.h
M  +73   -50   libs/pigment/KoColorConversionSystem_p.h
M  +1    -11   libs/pigment/KoColorConversionTransformationFactory.h
M  +0    -8    libs/pigment/KoCopyColorConversionTransformation.cpp
M  +0    -2    libs/pigment/KoCopyColorConversionTransformation.h
M  +103  -20   libs/pigment/tests/TestColorConversionSystem.cpp
M  +8    -0    libs/pigment/tests/TestColorConversionSystem.h
M  +4    -0    plugins/color/lcms2engine/LcmsRGBP2020PQColorSpace.h
M  +0    -30  
plugins/color/lcms2engine/LcmsRGBP2020PQColorSpaceTransformation.h

https://invent.kde.org/graphics/krita/commit/83a4e3010777f5c1c2b7ae385a0c2f096ae6a676

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

Reply via email to