Page 1 of 1

Issues Using Convert

Posted: 2010-03-02T21:59:38-07:00
by heng19
Using ImageMagick 6.5.7-0, Ghostscript 8.64
OS-Linux

Trying to convert the density of the file, but keep hitting into the following error when running the command convert -density 100 test.pdf temp.pdf :
Error: /rangecheck in --run--
Operand stack:
--nostringval-- --dict:9/18(L)-- --dict:13/15(ro)(L)-- 159 udieresis string
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop --nostringval-- --nostringval-- 4 1 6 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- %finish_show --nostringval-- --nostringval-- 8 9 2 --nostringval-- (gs_show_enum) %op_show_continue
Dictionary stack:
--dict:1156/1684(ro)(G)-- --dict:1/20(G)-- --dict:74/200(L)-- --dict:74/200(L)-- --dict:106/127(ro)(G)-- --dict:278/300(ro)(G)-- --dict:22/25(L)-- --dict:4/6(L)-- --dict:26/40(L)--
Current allocation mode is local
GPL Ghostscript 8.64: Unrecoverable error, exit code 1
convert: Postscript delegate failed `/home/dirind/www/deve/pdf/vo_di_retreated/15899/127820_VO.pdf': Aucun fichier ou dossier de ce type @ pdf.c/ReadPDFImage/634
convert: missing an image filename `/tmp/5b65fa15051a5799c095e6382e7fc13f.pdf' @ convert.c/ConvertImageCommand/2822.

I did a gs check on the pdf and on page 3 i hit the same error:
Page 3
Can't find (or can't open) font file /usr/share/ghostscript/8.64/Resource/Font/Eurostile.
Can't find (or can't open) font file Eurostile.
Didn't find this font on the system!
Substituting font Helvetica for Eurostile.
Loading NimbusSanL-Regu font from /usr/share/fonts/default/ghostscript/n019003l.pfb... 3347792 2006835 4193176 2892353 3 done.
Error: /rangecheck in --run-
....

Is there a way to solve this problem?

Re: Issues Using Convert

Posted: 2010-03-03T05:25:53-07:00
by magick
Your image may be corrupt or you may need a more modern version of Ghostscript. If you post a URL to your image, we'll download it and inspect it.