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 | |hics/krita/commit/c48e2754d | |28d7b33388d8897591f3c52fe68 | |4093 --- Comment #5 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit c48e2754d28d7b33388d8897591f3c52fe684093 by Dmitry Kazakov. Committed on 20/12/2021 at 12:54. Pushed by dkazakov into branch 'master'. 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). 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/c48e2754d28d7b33388d8897591f3c52fe684093 -- You are receiving this mail because: You are watching all bug changes.