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

Write png with compression level 9 is pretty slow #50

Open
rtlprmft opened this issue May 13, 2020 · 0 comments
Open

Write png with compression level 9 is pretty slow #50

rtlprmft opened this issue May 13, 2020 · 0 comments

Comments

@rtlprmft
Copy link

I have realized that writing png files with the highest level of compression is pretty slow (actually almost 5 times slower than when I compress an raw image for example with ImageMagick). I believe that the reason are unnecessary (and maybe even unwanted) conversions in libgd. I see the beauty of libgd as you need to run with only one libarary, but as libgd already links with libpng anyways, it will be available. I would volunteer to implement the possibility to write images directly with libpng as I believe it will be significantly faster.

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