Download latest version of ImageMagick. Unpacked it. Installing Ghostscript like this:
$ sudo apt-get install ghostscript
After that try to configure ImageMagick:
$ ./configure --with-gslib
$ make
$ make install
After that i try to conver PDF to jpg
$ sudo /usr/local/bin/convert in.pdf out.jpg
And i see this mistake
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.
What i’m doing wrong?
Try the following
convertcommands to see more precisely what’s possibly going wrong:There will possibly be a lot of output going to stderr. Amongst the lines you may see where IM is looking for Ghostscript. Also, try
to find with which exact commandlines ImageMagick tries to run Ghostscript (it may call
gsxinstead ofgs, or it may look for it in/usr/local/bin/…). If you find any deviations from your real Ghostscript installation, you can possibly fix it by editingdelegates.xml.will show you how ImageMagick is configured (and if, for example,
gswas during compile-time in the list inDELEGATESvariables). Here you also find where to look fordelegates.xml:should list the directory where this (as well as some more) *.xml settings files are located which control how
convertet al. behave…