Erratic behavior of new Imagick()
Posted: 2010-04-12T02:32:14-07:00
My php code looks like this:
Both are valid pdf files. With the first pdf, everyhting works well and I can make a snapshot of the pdf. With the 2nd pdf, I get this error:
I am on a shared hosting plan, and I have no control about the version installed, which is by the way:
My PHP version and system is:
Code: Select all
$file1 = 'http://www.ada.gov/newsltr0606.pdf';
$im1 = new Imagick($file1);
$file2 = 'http://www.nano.gov/NNI_SigInit_Nanoelectronics_Feb_2010.pdf';
$im2 = new Imagick($file2);
and it catches an exception (does not work). Can anyone reproduce this issue? Why does it work in one case, not the other?Wand contains no images `MagickWand-2'
I am on a shared hosting plan, and I have no control about the version installed, which is by the way:
My PHP version and system is: