I'm running into a problem with MagickWand and I have no idea what's causing it. Essentially I'm unable to use magickwriteimage as every time I do, I get the following error:
Code: Select all
PHP Fatal error: magickwriteimage(): An unknown C API exception occurred [on C source line 374] in ...
Code: Select all
<?
$wand = NewMagickWand();
MagickReadImage($wand,'x.jpeg');
MagickWriteImage($wand,'y.jpeg');
?>
Code: Select all
Application transferred too few scanlines `...filename...' @ jpeg.c/EmitMessage/237 in ...
Thanks for any pointers.....