Convert: Postscript delegate failed

Charlie Kee picture Charlie Kee · Mar 20, 2012 · Viewed 35.5k times · Source

I am trying to convert a PDF to JPEG:

$ convert pdf-test.pdf pdf-test.pdf.jpg

However, I am getting this error:

convert: Postscript delegate failed `pdf-test.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/664.
convert: missing an image filename `pdf-test.pdf.jpg' @ error/convert.c/ConvertImageCommand/3015.

Currently I am using this version of GS and ImageMagick on Mac OS X Lion:

$ gs -v
GPL Ghostscript 9.02 (2011-03-30)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.

$ convert -version
Version: ImageMagick 6.7.1-1 2011-07-21 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP

Can anybody enlighten me on this?

Answer

hjhart picture hjhart · Jun 23, 2013

I was receiving the same error message. I then installed gs and the same command worked properly after that.