Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optipng #2083

Open
adminka-root opened this issue Jul 28, 2022 · 1 comment
Open

optipng #2083

adminka-root opened this issue Jul 28, 2022 · 1 comment

Comments

@adminka-root
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant