Sample image that I can't create a new Imagick resource

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
onassar

Sample image that I can't create a new Imagick resource

Post by onassar »

Hey there,

I'm working on a script that simply resizes an image, and when I try to use the attached image as the resource, I get the following error:
Fatal error</b>: Uncaught exception 'ImagickException' with message 'Corrupt image `/Users/sample.gif' @ gif.c/ReadGIFImage/1316' ...

The image source can be seen here (couldn't upload it since it's over 250k):
http://img136.imageshack.us/img136/8373/kool.gif

Can anyone shed some light on it? The image may be corrupt, but I've seen other resizers on the net work with it.

Thanks.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Sample image that I can't create a new Imagick resource

Post by magick »

Your image converted without complaint for us. We're using ImageMagick 6.5.0, the latest release. We're not sure why its throwing an exception for you.
onassar

Re: Sample image that I can't create a new Imagick resource

Post by onassar »

Hmmm. Very odd.
I'm running: ImageMagick 6.4.9-6 2009-02-26
With: PHP Version 5.2.5

I think that was the latest stable at the time.
Any thoughts on the differences between the two?
onassar

Re: Sample image that I can't create a new Imagick resource

Post by onassar »

bump.
Post Reply