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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/-/commit/966076d
                   |                            |0265f8ea02bf01f76913edc5b52
                   |                            |e941d6

--- Comment #8 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 966076d0265f8ea02bf01f76913edc5b52e941d6 by Dmitry Kazakov.
Committed on 25/08/2023 at 18:22.
Pushed by dkazakov into branch 'master'.

Fix cross-colorspace bitBlt with channel flags

The channel flags passed to bitBlt should be applied to the
source pixels in source color space. It means that the channels
should be pre-processed with convertChannelToVisualRepresentation()
before being blended into the destination.

Please take it into account that source **color** flags should be
passed to convertChannelToVisualRepresentation, but **alpha** flags
should go to the final blend operation.

M  +1    -22   libs/image/kis_layer_projection_plane.cpp
M  +1    -1    libs/image/kis_onion_skin_compositor.cpp
M  +1    -1    libs/image/kis_painter.cc
M  +37   -8    libs/pigment/KoColorSpace.cpp
M  +16   -1    libs/pigment/KoColorSpace_p.h
M  +201  -1    libs/pigment/tests/TestKoColorSpaceAbstract.cpp
M  +3    -0    libs/pigment/tests/TestKoColorSpaceAbstract.h

https://invent.kde.org/graphics/krita/-/commit/966076d0265f8ea02bf01f76913edc5b52e941d6

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

Reply via email to