problem with pdf

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ssrahurk

problem with pdf

Post by ssrahurk »

Neither of the commands convert or identify work with pdf.. sometimes they do work when used with the pdf's generated by imagemagick but that too not always..

convert 5.pdf 5.tiff
this is the error -

convert: `%s': %s "gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -d
NOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 "-sDEVI
CE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" "-sOutputFile=C:/D
OCUME~1/ADMINI~1/LOCALS~1/Temp/magick-7PaKzwtu" "-fC:/DOCUME~1/ADMINI~1/LOCALS~1
/Temp/magick-GAsdQyle" "-fC:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/magick-c3jhWeD6".
convert: Postscript delegate failed `5.pdf': No such file or directory.
convert: missing an image filename `5.tiff'.

it gives a similar errror with identify

identify 5.pdf
identify: `%s': %s "gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dN
dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=
ICE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" "-sOutput
DOCUME~1/ADMINI~1/LOCALS~1/Temp/magick-WMPAdJWi" "-fC:/DOCUME~1/ADMINI~1
1/Temp/magick-fBRB9oYw" "-fC:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/magick--nv
identify: Postscript delegate failed `5.pdf': No such file or directory.

someone please help me with this?? :)
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: problem with pdf

Post by magick »

Which release of Ghostscript are you using? Make sure it is a modern release. ImageMagick delegates PDF conversion to Ghostscript. If Ghostscript fails to interpret your PDF, ImageMagick will fail as well.
Post Reply