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

Lynx3d <lynx.mw+...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lynx.mw+...@gmail.com

--- Comment #12 from Lynx3d <lynx.mw+...@gmail.com> ---
Okay I dug a bit into this, for me it was mergedimage.png that ate the most
amount of time compressing, and the reason is apparently that since this commit
4d609a56ef572b22ec9a712985e1927c7a0143d0 the compression level is now
Z_BEST_COMPRESSION (level 9), because
KoQuaZipStore::setCompressionEnabled(true) set this, while initially it is
initialized with Z_DEFAULT_COMPRESSION (-1, which apparently is 6 internally
for zlib).

Using Z_DEFAULT_COMPRESSION gets the save time and file size pretty much
identically to the old code used in krita 4.2.9 on the file I tested.

The file size difference was pretty much negligible btw, ~200kB for a 23MB file
for taking 3-4 times longer to save.

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

Reply via email to