-
Notifications
You must be signed in to change notification settings - Fork 27
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 is Larger than Original Image #510
Comments
This is happening for any original image type: see #550 (comment).. |
One thing I've noticed is that even when the Here is an example image's stats after optimization, with If I optimize the same image with the |
I cant understand how works Imagify compression algorithm, because when you use any other Image to WebP tool converter (eg: https://cloudconvert.com/jpg-to-webp), output WebP image is still lighter than original file, even with a high quality level. By sample, the WebP output image from my original image from #622 (3 Mb fullsized) is only 2.4 Mb (not 8.3 Mb like "compressed" by Imagify). I've done a quick benchmark between 3 versions of the same light website:
Even if Google seems not really interested in any of these versions, enable WebP is definitively not a good solution for resources (space disk, bandwidth, energy consumption, ecology, planet…) This issue (weight problem) is also related with a unresized/unscaled WebP image issue (size problem), see #521. There is so much critical issues to deals WebP images with Imagify (feature implemented since 2019 but never really tested) so I will go back to ShortPixel (less buggy). |
@piotrbak What do we want to do here exactly? We already have a filter to handle this case. And the fact that some WebP images are larger than original ones is something that should be handle on the API side. |
Showing a message is complicated because each image and its thumbnails are processed individually, and the test for keeping the webp image is done for each, so you can have some that have it and some which don't. |
Still having same problem. WebP pics are bigger than jpg's. (difference for me is about 3x) Since my investigation is still ongoing then I do not have full details jet Files in server are small, but dev tools show that they are huge. Update. Problem might have been in WP 6.7(.0) or the fact that srcSet didn't use webp images.. not sure, but it kinda fixed itself during optimizations round. |
Describe the bug
If the created WebP file is larger than the original PNG file, then delete the WebP version.
To Reproduce
Expected behavior
If the created WebP file is larger than the original PNG file, then delete the WebP version.
Screenshots
Backlog Grooming (for WP Media dev team use only)
The text was updated successfully, but these errors were encountered: