Issue: Configuring ImageMagick on Google App Engine
I am developing a PHP 7.2 app on Google App Engine and using ImageMagick to output image resizes. I added $im->setImageFormat('webp');
to the code, and while it works fine locally, when deployed to App Engine, I receive an “Unable to set image format” error.
I checked phpinfo()
on App Engine and found that their PHP 7.2.23 runtime, with extension=imagick.so
enabled, does not include WEBP support. I also tried the php73 runtime and it does not support it either.
Question:
Is it possible to configure App Engine’s ImageMagick to include WEBP support?