What Happens When ImageMagick Doesn’t Support WebP?
-
I have a localhost WordPress development website and a staged copy of the website on a shared hosting server. When I upload a WebP image to the localhost website’s Media Library, the file sizes of many of the images created by WordPress are substantially larger than the size of the uploaded WebP image file. When I upload the same WebP image to the shared web hosting server, the file sizes of the images created by WordPress are always less than the file size of the uploaded WebP file.
I have confirmed that the PHP ImageMagic extension in the localhost website DOES support the WebP file type. The ImageMagick PHP extension on the shared hosting server does NOT support the WebP file type.
Is this the reason why the size of the WebP files created by the shared hosting server are always smaller than the uploaded WebP file? Does the shared hosting server version of ImageMagick simply ignore processing of the uploaded WebP file because WebP isn’t a supported file type?
- The topic ‘What Happens When ImageMagick Doesn’t Support WebP?’ is closed to new replies.