ImageMagick on PHP 8

@austinwendt We are using Imagick to build out star rating images on the fly for reviews of products. It is a blocker because we absolutely need the extension for our product reviews, but its generating fatal errors and breaking pages. The error we see is this:

No decode delegate for this image format `'@error/blob.c/BlobToImage/364error

Turning this extension off means we no longer get to use our star rating which just isnt an option.

I tried downloading the intel macos build of local and its still not working. Looking at the the phpinfo() and the admin site health page, both are saying that the ImageMagick supported file formats are Unable to determined, meaning its still broken.

Hi all - I was DM’ing @haydenrust1 individually, but owed an update back here to the bigger thread - this is complete!

Our latest PHP releases (PHP 8.0.29, PHP 8.1.23, and PHP 8.2.10) all contain a standard set of PHP extensions, including Imagick. The only exception is PHP 8.2 on Windows OS as this is a known issue in the larger WordPress community.

You should be set to use Imagick on all PHP 8+ sites! If you run into any issues/errors, please let us know.

4 Likes