Ghostscript error when processing an EPS

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?".
Post Reply
qwertywin
Posts: 11
Joined: 2010-04-13T08:02:18-07:00
Authentication code: 8675308

Ghostscript error when processing an EPS

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Ghostscript error when processing an EPS

Post 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.
qwertywin
Posts: 11
Joined: 2010-04-13T08:02:18-07:00
Authentication code: 8675308

Re: Ghostscript error when processing an EPS

Post by qwertywin »

mmmm yeh

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

Code: Select all

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