https://bugs.kde.org/show_bug.cgi?id=410864
Dmitry Kazakov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/kde/ | |krita/commit/0381878fcb6c06 | |fd2f657ce46b28176e46db5ba4 --- Comment #3 from Dmitry Kazakov <[email protected]> --- Git commit 46ad1506e289bdd3954555505a63efb6502bdb24 by Dmitry Kazakov. Committed on 11/09/2019 at 08:50. Pushed by dkazakov into branch 'master'. 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/46ad1506e289bdd3954555505a63efb6502bdb24 --- Comment #4 from Dmitry Kazakov <[email protected]> --- Git commit 0381878fcb6c06fd2f657ce46b28176e46db5ba4 by Dmitry Kazakov. Committed on 11/09/2019 at 08:57. Pushed by dkazakov into branch 'master'. 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/0381878fcb6c06fd2f657ce46b28176e46db5ba4 -- You are receiving this mail because: You are watching all bug changes.
