Imagemagick and ESP Ghostscript

John Walstra jkw at carspot.com
Wed Jan 2 14:47:09 PST 2008


I have two boxes, a Debian Etch and a RHEL 5.0 box. On the Debian box I can convert a PDF to a JPG without a problem, however on the RHEL 5.0 box I get errors. Both are using the default packages.

Debian
------
####@jkw2:~$ convert -h
Version: ImageMagick 6.2.4 02/10/07 Q16 http://www.imagemagick.org

####@jkw2:~$ gs
ESP Ghostscript 815.03 (2006-08-25)

RHEL
####$ convert -h
Version: ImageMagick 6.2.8 01/18/07 Q16

####$ gs
ESP Ghostscript 8.15.2 (2006-04-19)

On the RHEL box I get the following error.

####$ convert test.pdf test.jpg
ERROR: /rangecheck in --cvrs--
Operand stack:
   --dict:6/6(L)--   TTxWgiTOg9Z   11.475   --dict:9/9(L)--   --dict:9/9(L)--   1484   --dict:9/9(L)--   --nostringval--   CharStrings   --dict:706/716(L)--   Encoding   --nostringval--   FontMatrix   --nostringval--   FontBBox   --nostringval--   FontName   -2147483647   16   (\000\000\000\000\000\000\000\000)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   --nostringval--   --nostringval--   2   1   1   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   false   1   %stopped_push   --nostringval--   %loop_continue   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1127/1686(ro)(G)--   --dict:0/20(G)--   --dict:107/200(L)--   --dict:107/200(L)--   --dict:104/127(ro)(G)--   --dict:241/347(ro)(G)--   --dict:20/24(L)--   --dict:4/6(L)--   --dict:21/32(L)--   --dict:8/8(L)--   --dict:33/50(ro)(G)--   --dict:44/62(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 815.02: Unrecoverable error, exit code 1
convert: Postscript delegate failed `test.pdf'.
convert: missing an image filename `test.jpg'.

I don't have any problems with the same PDF on the Debian box. So what should I look for?








More information about the cups-devel mailing list