Postscript delegate failed

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?".
Posts: 26
Joined: 2003-08-19T12:36:46-07:00
Location: Rocky Mount, NC 27804

Postscript delegate failed

Post by riegel »

Hello, I am trying to get identify to be called via a cgi script. It will identify JPEG GIF and PNG, but as if I try to identify an EPS file I get a delegate failure.

But if I try to run identify from the command line it works just fine.

This is the command I am running...

Code: Select all

identify -format "<x>%w</x> <y>%h</y> <m>%m</m>" /usr/home/clearimage/html/tcode/app-img/.TEMP/timecardmachinejTEMP.eps
Any ideas?

User avatar
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: Postscript delegate failed

Post by magick »

Your CGI environment is different from your command line environment. For example, the gs program may be in your command line execution path but not your CGI execution path. Add -debug configure,module to your ImageMagick command in the CGI environment and save the output to a log. Review the log to determine why the command is failing.