下载最新版本的ImageMagick。解压缩它。像这样安装的Ghostscript:无法在ImageMagick中安装GhostScript
$ sudo apt-get install ghostscript
之后尝试配置ImageMagick的:
$ ./configure --with-gslib
$ make
$ make install
之后,我尝试CONVER PDF为JPG
$ sudo /usr/local/bin/convert in.pdf out.jpg
,我看到这个错误
convert: no decode delegate for this image format `/tmp/magick-BzHdr4Kp-00000001' @ error/constitute.c/ReadImage/544.
convert: Postscript delegate failed `in.PDF': Нет такого файла или каталога @ error/pdf.c/ReadPDFImage/678.
convert: no images defined `out.jpg' @ error/convert.c/ConvertImageCommand/3044.
Wh在我做错了?
没有'./configure' --with-gslib'完成没有任何错误或明显的警告(如'无法找到gslib - 建设没有...')?错误信息部分用俄语显示 - 是你的locale吗? – 2012-07-10 16:52:43
是的,我来自俄罗斯。 ./configure --with-gslib之后没有错误 – 2012-07-10 17:33:01