-
Notifications
You must be signed in to change notification settings - Fork 93
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 images not optimized #179
Comments
Hi @mrgoonie |
Thanks for the response, I tried your suggestion, but the result is still the same 😢 |
I'm having the same issue, installed imagemin-optipng and next-optimized-images, however, when .png image sizes remain the same as before installing and adding the plugin. |
I recommend using the canary version in this case as it is a complete rewrite and image optimization was moved to WebAssembly and so it works the same in every environment. It solves all current issues and can already be considered stable, just a few features are missing before I will publish it as a non-canary version. I am sorry that I don't have enough time to investigate this problem in the |
I'm facing the same issue even using the canary version. JPG is optimized (e.g. 1.7 MB to 400 kB), but PNG is even bigger than the original (15.5 MB to 15.6 MB). |
While JPG works fine, PNG images don't seem to be optimized.
page/index.js
next.config.js
package.json
And the image is: /images/[email protected]
.next/static/images/[email protected]
...Or am I doing something incorrectly?
The text was updated successfully, but these errors were encountered: