https://bugs.kde.org/show_bug.cgi?id=500870
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap |hics/krita/-/commit/20ca858 |hics/krita/-/commit/b4753f9 |c2d9130b5a46fdf6af1a3290630 |d311814388f35177ea683e7ed7d |bb4497 |72b165 --- Comment #4 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit b4753f9d311814388f35177ea683e7ed7d72b165 by Dmitry Kazakov. Committed on 21/05/2025 at 15:29. Pushed by dkazakov into branch 'krita/5.2'. Fix TIFF file size bloating after each overwrite Unlike the stdio library TIFF image files may not be opened for both reading and writing; there is no support for altering the contents of a TIFF file. (https://libtiff.gitlab.io/libtiff/libtiff.html#basic-file-handling) However, function TIFFFdOpen do not truncate the TIFF file before the owerrite. When libtiff writes new data to existing file, the old data is not deleted. Solution: Truncate the TIFF file before calling the function TIFFFdOpen. (cherry picked from commit 20ca858c2d9130b5a46fdf6af1a3290630bb4497) Co-authored-by: Igor Danilets <danilec.i...@gmail.com> M +1 -1 plugins/impex/tiff/kis_tiff_export.cc https://invent.kde.org/graphics/krita/-/commit/b4753f9d311814388f35177ea683e7ed7d72b165 -- You are receiving this mail because: You are watching all bug changes.