Imagick Won't Read Image

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
petertell

Imagick Won't Read Image

Post by petertell »

Hi,

So I'm trying to instantiate a new Image Magick object. If I start a fresh image, its fine, but if I try to start from an image that already exists, IE:

Code: Select all

$image = '/the/location/of/the/image.jpg'
$im = new Imagick($image);
ImageMagick detects if the file exists, and when it does, spits back the error:

Code: Select all

no decode delegate for this image format `' @ error/constitute.c/ReadImage/532
As you can see, its giving the format error, because the image or file its trying to read is blank.

Does anyone have anyone idea whats going on?

Thanks
Post Reply