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?".
I was using a vagrant machine with ubuntu precise64, so I changed to utopic64, which is the last one. Then installed last versions from repo. Here are the versions it gave me, and the output again:
vagrant@vagrant-ubuntu-utopic-64:~/pubtree$ ghostscript --version
9.14
vagrant@vagrant-ubuntu-utopic-64:~/pubtree$ convert --version
Version: ImageMagick 6.7.7-10 2014-08-21 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
vagrant@vagrant-ubuntu-utopic-64:~/pubtree$ convert NoSilverBullet.pdf a.png
Error: /syntaxerror in -file-
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1934 1 3 %oparray_pop 1933 1 3 %oparray_pop 1917 1 3 %oparray_pop 1803 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
Dictionary stack:
--dict:1183/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)--
Current allocation mode is local
Current file position is 1
GPL Ghostscript 9.14: Unrecoverable error, exit code 1
convert.im6: Postscript delegate failed `NoSilverBullet.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/677.
convert.im6: no images defined `a.png' @ error/convert.c/ConvertImageCommand/3044.
on ghostscript download page (http://pkgs.org/download/ghostscript), the last version I can see for ubuntu is 9.14. Maybe there is no 9.15 on ubuntu? Or the odd number means a development version?
Perhaps someone on Unix, and GS 9.14, can try ths out. Sorry, I know nothing about GS versions. Ubuntu distros often seem old (at least they are for ImageMagick), so GS's homepage might be more fruitful.
You might also check "-verbose", to see if IM is giving weird arguments to GS. I get:
I did it. It happens that for some reason, my PDF had 0 bytes. I should have uploaded a pdf in other folder or something. So I just messed all this up. Terrible sorry