When i try to load up new image with "new imagick('image.jpg')" it works no problem, but when i try to load pdf file i get
Code: Select all
exception 'ImagickException' with message 'PostscriptDelegateFailed `C:/Windows/TEMP/magick-rR4d9aY4': No such file or directory @ error/pdf.c/ReadPDFImage/645' in D:\wwwl\img.php:76 Stack trace: #0 D:\wwwl\img.php(76): Imagick->__construct('upload/p2.pdf') #1 {main}
I also tried to replace the "new imagick()" part in my php file with exec("convert -scale 165 abc.pdf abc.png"), but that isn't working either.
I just can't seem to figure out what i'm doing wrong.
edit: This was maybe supposed to go into the imagick section.