Postscript delegate failed (IM 6.3.5)

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

Postscript delegate failed (IM 6.3.5)

Post by kriks »

Hello,

I have troubles converting EPS to PNG:

file 1813.eps exists

Code: Select all

convert -verbose 1813.eps 1813.png
[ghostscript library] -q -dQUIET -dSAFER -dPARANOIDSAFE -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pam" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-g336x238" "-r72x72"  "-sOutputFile=/tmp/magick-XX1djQru" "-f/tmp/magick-XXDYrbkG" "-f/tmp/magick-XXWT4BcS"Error: /ioerror in --filter--
Operand stack:
   DataSource   --nostringval--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1889   1   3   %oparray_pop   1888   1   3   %oparray_pop   --nostringval--   1872   1   3   %oparray_pop   1755   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   1749   3   5   %oparray_pop
Dictionary stack:
   --dict:1151/1684(ro)(G)--   --dict:0/20(G)--   --dict:80/200(L)--   --dict:19/40(L)--   --dict:6/12(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 55702
GPL Ghostscript 8.61: Unrecoverable error, exit code 1
Start of Image
Define Huffman Table 0x00
          0   1   5   1   1   1   1   1
          1   0   0   0   0   0   0   0
Define Huffman Table 0x01
          0   3   1   1   1   1   1   1
          1   1   1   0   0   0   0   0
Define Huffman Table 0x10
          0   2   1   3   3   2   4   3
          5   5   4   4   0   0   1 125
Define Huffman Table 0x11
          0   2   1   2   4   4   3   4
          7   5   4   4   0   1   2 119
End Of Image
convert: Postscript delegate failed `1813.eps': No such file or directory.
convert: missing an image filename `1813.png'.

Code: Select all

# convert -version
Version: ImageMagick 6.3.5 01/14/08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
 
# gs -v
GPL Ghostscript 8.61 (2007-11-21)
Copyright (C) 2007 Artifex Software, Inc. All rights reserved.
it seems IM and GS do not undestrand themselves very well.

any advice?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Postscript delegate failed (IM 6.3.5)

Post by magick »

Post a URL to your 1813.eps so we can download it and inspect it. We need to determine if the problem is with the Postscript file, Ghostscript, or ImageMagick.
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

Re: Postscript delegate failed (IM 6.3.5)

Post by kriks »

here it is http://www.pingroom.net/1813.eps

but I have this kind of problem with lots of EPS.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Postscript delegate failed (IM 6.3.5)

Post by magick »

We have a fix for the problem you reported in ImageMagick 6.3.8-0 Beta available sometime tomorrow. Thanks.
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

Re: Postscript delegate failed (IM 6.3.5)

Post by kriks »

thank you, I hope there will soon be a release for gentoo.
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

Re: Postscript delegate failed (IM 6.3.5)

Post by kriks »

I have a "memory allocation failed" with identify (v 6.3.7.9) with this eps:

http://www.pingroom.net/14.eps

can you tell me if this is the same problem?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Postscript delegate failed (IM 6.3.5)

Post by magick »

EPT files include a TIFF preview, yours does not. We have accounted for the missing TIFF preview with a patch in ImageMagick 6.3.8-1 Beta available sometime tomorrow.
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

Re: Postscript delegate failed (IM 6.3.5)

Post by kriks »

thank you
Raffa

Re: Postscript delegate failed (IM 6.3.5)

Post by Raffa »

Hallo,
i have a problem maybe similar to the problem above.
I can't open different eps-Files in Imagemagick.
For example: http://www.jl-medien.de/testlogo.eps
The error is NoDecodeDelegateForThisImageFormat like the Author 'Kriks' get with the eps.

I use Imagemagick (Binary-Version for Windows 6.3.8-11-Q16) for Windows.
Do you have fixed the Bug for this Version , yet ?
Can you tell me if this is the same problem ?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Postscript delegate failed (IM 6.3.5)

Post by magick »

Your Postscript converted fine for us using ImageMagick 6.3.8-11 and Ghostscript 8.53. Do other formats work for you? Try
  • convert logo: logo.png
Do you have Ghostscript installed?
Raffa

Re: Postscript delegate failed (IM 6.3.5)

Post by Raffa »

Thank you for the quick response.
After different tests , I think the problem depend on the Magickwand for PHP or the combination ghostscript and php
I use Ghostscript 8.53 and the programm is working. I test it with Ghostview.
Also, I can watch the speciell EPS with Image Magick Display.
the code 'identify testlogo.eps' give me the information i need (Width, height,..).

Unfortunately i need to use Magickwand to get Informations by a php-script.
This is the problem.
After trying different dlls , i find one without throwing the error.
Unfortunately i get no Information (width, height,..) for the eps.
Trying to get them with:
MagickGetImageWidth( $resource );
MagickGetImageHeight( $resource );
Must i try it with exec (identify ...) or are there other possibilities?
Do you have any advise?
Raffa

Re: Postscript delegate failed (IM 6.3.5)

Post by Raffa »

I have a solution.
i get my correct information from Imagemagick with an exec-tag in php.
petercoloney

Re: Postscript delegate failed (IM 6.3.5)

Post by petercoloney »

hi,

i want to convert .ai image to .jpg format,

i have installed imagemagic-8.5.4-3-Q16.dll and gs864w32.exe.

i was able to convert one .ai image without any problem from the command prompt but was unable to do it with other .ai images.

what is the problem i dont understand?

can anyone give me the solution how to solve this or tell me what is the bug/where am i going wrong?

waiting for reply....
Post Reply