Page 1 of 1

Re: Error when convert pdf to jpg

Posted: 2008-10-29T21:28:26-07:00
by fmw42
flubber wrote:/usr/bin/convert -density 300x300 -resize 1000x1000 mine.pdf mine.jpg
Error: /ioerror in --showpage--
Operand stack:
--nostringval-- 1 true
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1921 1 3 %oparray_pop 1920 1 3 %oparray_pop 1904 1 3 %oparray_pop --nostringval-- --nostringval-- 29 1 62 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- 1793 1 9 %oparray_pop --nostringval-- --nostringval--
Dictionary stack:
--dict:1174/3371(ro)(G)-- --dict:1/20(G)-- --dict:77/200(L)-- --dict:77/200(L)-- --dict:108/127(ro)(G)-- --dict:273/300(ro)(G)-- --dict:22/25(L)-- --dict:4/6(L)-- --dict:21/40(L)--
Current allocation mode is local
Last OS error: 28
GPL Ghostscript 8.62: Unrecoverable error, exit code 1
convert: Postscript delegate failed `mine.pdf': No such file or directory.
convert: missing an image filename `mine.jpg'.

================

Any sugest..?
Looks like you need to install all the relevant image delegate libraries. To see what you have installed

convert -list configure

and look for the line DELEGATES. Mine says:

DELEGATES bzlib fontconfig freetype gs jpeg jp2 lcms lqr openexr png tiff x11 xml zlib


Delegate libraries are available at http://www.imagemagick.org/download/delegates/