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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/commit/c48e2754d |hics/krita/commit/7ebdbdba8
                   |28d7b33388d8897591f3c52fe68 |18fd17c23b3d62475676c183da6
                   |4093                        |22ba

--- Comment #6 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 7ebdbdba818fd17c23b3d62475676c183da622ba by Dmitry Kazakov.
Committed on 20/12/2021 at 13:08.
Pushed by dkazakov into branch 'krita/5.0'.

Fix artifacts when using colorsmudge brush over CMYK image

The problem is that we cannot rely on LCMS' conversions between
CMYK-U8 and CMYK-U16. They cannot do proper round-tripping, the
color fluctuates a lot, therefore causing artifacts.

To workaround this issue we can just offload all these conversions
to KoOptimizedRgbPixelDataScalerU8ToU16 (which now supports varying
number of channels in the pixel).
(cherry picked from commit c48e2754d28d7b33388d8897591f3c52fe684093)

M  +8    -0    libs/image/KisOverlayPaintDeviceWrapper.cpp
M  +8    -2    libs/pigment/KoOptimizedRgbPixelDataScalerU8ToU16.h
M  +11   -0    libs/pigment/KoOptimizedRgbPixelDataScalerU8ToU16Base.cpp
M  +7    -0    libs/pigment/KoOptimizedRgbPixelDataScalerU8ToU16Base.h
M  +7    -1    libs/pigment/KoOptimizedRgbPixelDataScalerU8ToU16Factory.cpp
M  +8    -0    libs/pigment/KoOptimizedRgbPixelDataScalerU8ToU16Factory.h
M  +2    -2    libs/pigment/KoOptimizedRgbPixelDataScalerU8ToU16FactoryImpl.cpp
M  +37   -0    libs/pigment/tests/TestColorConversionSystem.cpp
M  +2    -0    libs/pigment/tests/TestColorConversionSystem.h

https://invent.kde.org/graphics/krita/commit/7ebdbdba818fd17c23b3d62475676c183da622ba

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

Reply via email to