cherrytree icon indicating copy to clipboard operation
cherrytree copied to clipboard

optipng

Open adminka-root opened this issue 2 years ago • 1 comments

A number of tests have shown that Cherrytree saves images in PNG format, each time recompiling. That is, even if you give an optimized png image as input, it will still make its own unoptimized png from it. I consider this a problem. As the size of the database grows, the speed of the autosave function decreases, and hence the speed of the program as a whole. I suggest adding a module that will also optimize the image via optipng if present on the system.

http://optipng.sourceforge.net

adminka-root avatar Jul 28 '22 12:07 adminka-root

Also, I don't like that I can't save a small image with indexed colors (for example 10 colors and its size is 10 KB). Instead, Cherrytree converts to full rgb (for example, with a size of 60 KB). I voiced this idea only as an extra reason to think about optimizing the approach to storing and using images

adminka-root avatar Jul 28 '22 12:07 adminka-root