Page 1 of 1

Conversion problem

Posted: 2018-09-02T01:16:08-07:00
by maxjard
here, I am currently working on a pdf file conversion project in tiff!
I have a code, which is functional. In the least idea ...
Indeed, I test with an image converted to pdf => It works!
I test with a pdf with which I must make my project => this error:
Fatal error: Uncaught exception 'ImagickException' with message 'wand contains no images `MagickWand-3' @ error / magick-image.c / MagickSetImageFilename / 10080 'in C: \ [...] \ script.php: 13 Stack trace : # 0 C: \ [...] \ script.php (13): Imagick-> readimage ('2.pdf') # 1 {main} thrown in C: \ [...] \ script.php on line 13
Do you have any ideas please? Because I do not understand why it works for one, but not for the other ...

Re: Conversion problem

Posted: 2018-09-02T03:54:28-07:00
by snibgo
The error is "wand contains no images". I suspect there is a bug in your code. I don't use IMagick or PHP so probably couldn't debug your code.