https://bugs.kde.org/show_bug.cgi?id=473479
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap |hics/krita/-/commit/966076d |hics/krita/-/commit/dc68a24 |0265f8ea02bf01f76913edc5b52 |67eb038543345ecd23e67b9a354 |e941d6 |31fd70 --- Comment #9 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit dc68a2467eb038543345ecd23e67b9a35431fd70 by Dmitry Kazakov. Committed on 25/08/2023 at 21:33. Pushed by dkazakov into branch 'krita/5.2'. 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/dc68a2467eb038543345ecd23e67b9a35431fd70 -- You are receiving this mail because: You are watching all bug changes.