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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/5b3b1de7f
                   |                            |cbc033b1bf9dfbcd20a0dd53a5a
                   |                            |98a3
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 5b3b1de7fcbc033b1bf9dfbcd20a0dd53a5a98a3 by Dmitry Kazakov.
Committed on 28/03/2022 at 06:19.
Pushed by dkazakov into branch 'master'.

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/5b3b1de7fcbc033b1bf9dfbcd20a0dd53a5a98a3

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

Reply via email to