NoDecodeDelegateForThisImageFormat ReadImage 555

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
halichu
Posts: 5
Joined: 2014-09-22T06:03:40-07:00
Authentication code: 6789

NoDecodeDelegateForThisImageFormat ReadImage 555

Post by halichu »

So whenever I try to initiate a new Imagick instance, I get this error:
NoDecodeDelegateForThisImageFormat `E:\WD SmartWare.swstor\HALEY-HP\Source2\bunny-meadows\public/assets/img/pets/backgrounds/blank.png' @ error/constitute.c/ReadImage/555
This is my code:

Code: Select all

$layer = new Imagick( $asset );
$layer->thumbnailImage( $this->width, $this->height );
It's failing on the first line.. $asset is being filled with the string in the error. This file does exist and the img directory CAN be read so I already verified all of this. I have the 32 bit version of Wamp installed on my computer. I also installed the 32 bit of Imagick: http://www.imagemagick.org/script/binar ... hp#windows I installed the 4th option (ImageMagick-6.8.9-9-Q16-x86-dll.exe).

I have the .dll for PHP 5.5.. http://www.peewit.fr/imagick/ (I chose the thread safe.. I'm not sure what the difference is to be honest)
My wamp has these versions of PHP and Apache:
PHP: 5.5.12
Apache: 2.4.9

I have php_imagick.dll enabled in BOTH php.ini under PHP bin and Apache bin directories in Wamp. When I look under PHP extensions, I do see Imagick and I also see Imagick when I do phpinfo().. so I feel like everything is good here, but it can't read that image or something.
I checked my delegates via command line and png IS listed..

Any help would be appreciated!
halichu
Posts: 5
Joined: 2014-09-22T06:03:40-07:00
Authentication code: 6789

Re: NoDecodeDelegateForThisImageFormat ReadImage 555

Post by halichu »

I literally have been messing around with Imagick FOR DAYS to get it configured properly. However this solved everything:

http://stackoverflow.com/questions/2105 ... 3#21084043

Hopefully that helps anybody else who is having trouble getting it configured with their server.
Post Reply