Page 1 of 1

Postscript delegate failed

Posted: 2009-07-06T16:19:58-07:00
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?

Re: Postscript delegate failed

Posted: 2009-07-06T17:44:18-07:00
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.