https://bugs.kde.org/show_bug.cgi?id=410864
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/ |krita/commit/0381878fcb6c06 |krita/commit/6cd14938170f2b |fd2f657ce46b28176e46db5ba4 |364faf86cdcb8ac404e11be893 --- Comment #5 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit 5e227d6453a9fe9089682328e8fd33076115726e by Dmitry Kazakov. Committed on 13/09/2019 at 09:01. Pushed by dkazakov into branch 'krita/4.2'. Fix memory leak in KisJPEGConverter LibPNG allocates "profile_data" for us, therefore, we should free it M +5 -2 plugins/impex/jpeg/kis_jpeg_converter.cc https://invent.kde.org/kde/krita/commit/5e227d6453a9fe9089682328e8fd33076115726e --- Comment #6 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit 6cd14938170f2b364faf86cdcb8ac404e11be893 by Dmitry Kazakov. Committed on 13/09/2019 at 09:01. Pushed by dkazakov into branch 'krita/4.2'. Fix a crash when loading JPEG image with a weird color profile The profile in question has a weird RGB->XYZ transformation matrix, which is not invertible. Therefore, this profile cannot be used as a workspace color profile and we should convert the image to sRGB right on loading. LCMS doesn't have a separate method for checking if conversion matrix is invertible, therefore we just try to create a simple transformation, where the profile is both, input and output. If the transformation is created successfully, then this profile is probably suitable for usage as a working color space. M +9 -4 plugins/color/lcms2engine/LcmsColorSpace.h M +18 -1 plugins/color/lcms2engine/colorprofiles/IccColorProfile.cpp https://invent.kde.org/kde/krita/commit/6cd14938170f2b364faf86cdcb8ac404e11be893 -- You are receiving this mail because: You are watching all bug changes.