Page 1 of 1

Ghostscript error when processing an EPS

Posted: 2010-04-13T08:42:33-07:00
by qwertywin
http://staging.vfmii.com/medlib/dketest/H0HLRD23.EPS

When im processing this EPS file with imagemagick I get this error

Code: Select all

146	Error: /undefined in 
147	Operand stack:
    
148	Execution stack:
149	   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop   1877   1   3   %oparray_pop   --nostringval--   1861   1   3   %oparray_pop   1755   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
150	Dictionary stack:
151	   --dict:1159/1684(ro)(G)--   --dict:0/20(G)--   --dict:93/200(L)--
152	Current allocation mode is local
153	Last OS error: 2
154	Current file position is 107871
155	GPL Ghostscript 8.71: Unrecoverable error, exit code 1
156	Error: /undefined in 
157	Operand stack:
    
158	Execution stack:
159	   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop   1877   1   3   %oparray_pop   --nostringval--   1861   1   3   %oparray_pop   1755   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
160	Dictionary stack:
161	   --dict:1159/1684(ro)(G)--   --dict:0/20(G)--   --dict:93/200(L)--
162	Current allocation mode is local
163	Last OS error: 2
164	Current file position is 107871
165	GPL Ghostscript 8.71: Unrecoverable error, exit code 1
Im not sure if this is a imagemagick interfacing error or a ghostscript error

PHP 4.3.11
ImageMagick 6.4.2 09/19/08 Q16
Ghostscript 8.71

Re: Ghostscript error when processing an EPS

Posted: 2010-04-13T08:53:15-07:00
by magick
There is a problem with your EPS file and / or a bug in Ghostscript. You may want to post this bug to the Ghostscript mailing lists.

Re: Ghostscript error when processing an EPS

Posted: 2010-04-13T09:40:03-07:00
by qwertywin
mmmm yeh

just for reference it kicks out that error in MagickReadImage()

Code: Select all

$imWand = NewMagickWand();
MagickReadImage( $imWand, $localFilename );