Hi
I'm trying to convert a pdf file to jpg using ImageMagick.
If I run the code in a command prompth it works. But In PHP it doesn't
Command code:
convert a.pdf a.jpg
PHP code
echo exec('"C:\Program Files\ImageMagick-6.3.7-Q16\convert.exe" C:\a.pdf C:\a.jpg');
The problem is only when I try to convert FROM PDF to another fileformat. If I try to convert TO PDF og from another fileformat it works in PHP also...
Do you have any ideas??