We'd really love to be able to use ImageMagick as it would be extremely useful
across several projects, however we keep receiving the same error.
This is the code we're using just to test ImageMagick:
Code: Select all
if(file_exists('content/pl100.jpg')) {
try {
$im = new imagick('content/pl100.jpg');
} catch (Exception $e) {
echo 'Caught exception: ', $e->getMessage(), "\n";
}
}
Caught exception: Wand contains no images `MagickWand-1' @ magick-
image.c/MagickSetImageFilename/9789
then, on refresh...
Caught exception: Wand contains no images `MagickWand-2' @ magick-
image.c/MagickSetImageFilename/9789
This repeats with the number incrementing each time so 'MagickWand-3',
'MagickWand-4', etc.
ImageMagick version - 6.5.7-5
Imagick version - 2.3.1-dev and shows in phpinfo.
Windows Server 2003 SP2
PHP 5.3.0
We'd really appreciate any advice and any suggestions on things we should check.
Thanks for looking.