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

Use imagemin-zopfli for PNGs? #130

Open
nisbet-hubbard opened this issue Nov 11, 2024 · 1 comment
Open

Use imagemin-zopfli for PNGs? #130

nisbet-hubbard opened this issue Nov 11, 2024 · 1 comment

Comments

@nisbet-hubbard
Copy link

sharp uses pngquant under the hood. Among recent tools, zopflipng seems to give the best lossless compression rate.

Would it make sense for this project to transition to imagemin-zopfli at some point?

It’s slower, but I guess that shouldn’t be an obstacle if the optimisation is meant to be one-off.

@j9t
Copy link
Owner

j9t commented Nov 11, 2024

Thanks @nisbet-hubbard! Generally interested in best results, too, but it seems that the whole imagemin-* family (with the exception of independent packages like imagemin-guard) are unmaintained. imagemin-zopfli is at 3 years now (for their workflows), which makes me wonder if it would be an exception.

If there’s a signal that this or other imagemin-* packages are being maintained again, I’d have a look, but if not, I’d prioritize future improvements and likely better security with maintained packages (where possible).

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

2 participants