You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal error: Paletter image not supported by webp in /usr/www/users/xxxxxx/staging-xxxxxx-com/releases/20240924131521/wp-includes/class-wp-image-editor.php on line 592
Hi @adamsilverstein, the image is from my customer. I'm not sure have the permission to share it here.
When I open the image with gimp I get this message, maybe that helps? It seems to be sRGB IEC61966-2.1
Anyway, I miss exception handling in your plugin. No matter what error it is, it should simply skip image instead exit the script.
@adamsilverstein Today I've got the idea to enable image magick on the server and try it again. I can confirm with image magick been able to convert almost all images. So this happens only with GD. If image magick is enabled, wordpress switch to it automatically. Anyway, with AVIF the script simply returned "Killed", I think that is because of old version of image magick.
Only regenerated 428 of 442 images (5 failed, 9 skipped).
Bug Description
I just tried to convert a existing site to webp with performance lab + modern image.
Steps to reproduce
Screenshots
Additional Context
It seems the fix is to convert the image to RGB if it isn't already: https://stackoverflow.com/questions/39292617/fatal-error-paletter-image-not-supported-by-webp
The text was updated successfully, but these errors were encountered: