Page 1 of 1

help with pdf convert

Posted: 2008-10-23T08:50:14-07:00
by Sapphire
i try convert pdf to jpg ( >convert 1.pdf 1.jpg )

without ghostscript i have error

convert: `%s': %s "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -
dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pnmraw" -dTextAlp
haBits=4 -dGraphicsAlphaBits=4 "-g72x72" "-r" C:/DOCUME~1/EF489~1.POT/LOCALS~1/T
emp/magick-Mj9-0fjK "-sOutputFile=C:/DOCUME~1/EF489~1.POT/LOCALS~1/Temp/magick-0
p_fJUCr" "-fC:/DOCUME~1/EF489~1.POT/LOCALS~1/Temp/magick-V19EKQsM" "-f".
convert: Postscript delegate failed `1.pdf': No such file or directory.
convert: missing an image filename `1.jpg'.

with ghostscript

-r must be followed by <res> or <xres>x<yres>
convert: Postscript delegate failed `1.pdf': No such file or directory.
convert: missing an image filename `1.jpg'.

how can i fix this???

Re: help with pdf convert

Posted: 2008-10-23T09:58:23-07:00
by fmw42
Sapphire wrote:i try convert pdf to jpg ( >convert 1.pdf 1.jpg )

without ghostscript i have error

convert: `%s': %s "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -
dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pnmraw" -dTextAlp
haBits=4 -dGraphicsAlphaBits=4 "-g72x72" "-r" C:/DOCUME~1/EF489~1.POT/LOCALS~1/T
emp/magick-Mj9-0fjK "-sOutputFile=C:/DOCUME~1/EF489~1.POT/LOCALS~1/Temp/magick-0
p_fJUCr" "-fC:/DOCUME~1/EF489~1.POT/LOCALS~1/Temp/magick-V19EKQsM" "-f".
convert: Postscript delegate failed `1.pdf': No such file or directory.
convert: missing an image filename `1.jpg'.

with ghostscript

-r must be followed by <res> or <xres>x<yres>
convert: Postscript delegate failed `1.pdf': No such file or directory.
convert: missing an image filename `1.jpg'.

how can i fix this???

I am no expert (and don't know about -r), but it looks like you need to install the ghostscript (and possibly jpg) delegate libraries. To see what libraries you have installed, type

convert -list configure

And look for the line something like this:

DELEGATES bzlib fontconfig freetype gs jpeg jp2 lcms lqr openexr png tiff x11 xml zlib


see http://www.imagemagick.org/download/delegates/

Re: help with pdf convert

Posted: 2008-10-23T10:24:45-07:00
by Sapphire
thanks fmw42

problem solved
1. i install image magick and ghost script
2. i install "KnowledgeTree" ( it install apache php mysql and etc )
3. "KnowledgeTree" change path to imagick config
4. i reboot
5. convert *.pdf - failed!!!
6. regedit
7. delete wrong path to imagick config
8. It works perfectly.


Thanks!!!