-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Enhancement: expose pngsave options requiring libimagequant #1484
Comments
@lovell any plan to have libimagequant included in libvips/sharp by default in the near future? |
libimagequant is GPL so you'll have to roll your own. |
For anyone looking for a precompiled version of this. I will try to maintain one that can be used just by setting an environment variable before doing an Set ENV Variable NOTE: This includes libimagequant which is GPL code and I'm only compiling for linux-x64 right now. Other linux targets are probably simple to add if someone needs it (just open an issue). |
@lovell If licensing is a problem you could ask @kornelski about cross-licensing libimagequant to eg. LGPL or an exception for binary distribution in sharp. Another solution could be to vendor https://github.com/exoticorn/exoquant in libvips and use it as a (slower) fallback, if libimagequant is missing. It would make the quality parameter useless though. |
Thank you so much 😀😁❤ |
https://libvips.github.io/libvips/API/current/VipsForeignSave.html#vips-pngsave
Please note that the pre-compiled binaries provided by sharp will not include libimagequant. If you require these possible future options then libvips will have to be compiled from source and globally installed.
The text was updated successfully, but these errors were encountered: