Search found 3 matches

by Rocinant
2011-03-03T14:31:10-07:00
Forum: Users
Topic: Converting from PDF to JPG
Replies: 5
Views: 45050

Re: Converting from PDF to JPG

The last problem, about the missing gs_init.ps seemed to be a directory with the wrong chmod-settings. After my provider solved that, it worked great.

Thank you all for you help!
Rocinant
by Rocinant
2011-03-03T13:55:41-07:00
Forum: Users
Topic: Converting from PDF to JPG
Replies: 5
Views: 45050

Re: Converting from PDF to JPG

My kind provider has updated the ImageMagick version. GNU Ghostscript 7.07 is the latest GNU version of Ghostscript. Now, if I use the commands

convert test.pdf test.jpg
or
gs -sDEVICE=jpg -sOutputFile=test.jpg test.pdf

I get the following error message:
GNU Ghostscript 7.07: Can't find ...
by Rocinant
2011-02-28T13:37:01-07:00
Forum: Users
Topic: Converting from PDF to JPG
Replies: 5
Views: 45050

Converting from PDF to JPG

I am trying to convert a PDF file to a JPG file using the following code:

<?php
exec("convert -density 100 -colorspace rgb test.pdf -scale 200x200 test.jpg");
?>

but this doesn't do anything. Converting JPG to PDF files or PNG to PDF files is no problem...
The Imagemagick version I am using is ...