-
-
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
WebP input can ignore resize kernel #3516
Comments
Hi, did you see the (I've added a brief note about this to the docs via commit e827358 ) |
I just did and try it but there is not different on the sizes:
result
|
Thank you, I've been able to reproduce this. Commit c150263 alters the behaviour of WebP input to ensure it respects the |
sharp v0.32.0 is now available with this fix, thanks for reporting. |
Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?
npm install sharp
completes without error.node -e "require('sharp')"
completes without error.If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?
sharp
as reported bynpm view sharp dist-tags.latest
.What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?What are the steps to reproduce?
Attempt to read in the webp image with transparency.
What is the expected behaviour?
Changing the value of the kernel should show a different output of size in bytes but always is the same regardless of which kernel uses:
nearest, cubic, mitchell, lanczos2,lanczos3
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
Please provide sample image(s) that help explain this problem
transparency-linux.tar.gz
The text was updated successfully, but these errors were encountered: