-
-
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
Png quality doesn't work even with libimagequant
#1793
Comments
It could be useful if |
https://sharp.pixelplumbing.com/en/stable/api-output/#png To enable libimagequant at runtime use the - .png({quality:1})
+ .png({ palette: true, quality: 1 }) Set |
It is unclear to me from docs, that I have to specify Thanks a lot for a quick response and great library. |
BTW why |
The prebuilt binaries provided by sharp for libvips and its dependencies do not include GPL-licensed or patent-encumbered software. |
OK, thank you |
Please include me in the group interested in why |
|
What are the steps to reproduce?
(url from #1484)
png-test.js
output:
What is the expected behaviour?
pngs should have different sizes
Are you able to provide a standalone code sample, without other dependencies, that demonstrates this problem?
ubuntu:bionic
image, because I cannot find tar withlibimagequant
for macWhat is the output of running
npx envinfo --binaries --languages --system --utilities
?ldd node_modules/sharp/build/Release/sharp.node
:libimagequant is here
The text was updated successfully, but these errors were encountered: