Postscript delegate failed

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
littlened

Postscript delegate failed

Post by littlened »

Hi all,

I've been using imagick to convert PDF's to JPEG's, it all worked fine until one day it stopped and I've not been able to fix it.

I've posted this in the imagemagick forum too just incase people don't read both.

The error I'm getting is

"Fatal error: Uncaught exception 'ImagickException' with message 'Postscript delegate failed `/var/www/vhosts/assetbag.com/subdomains/church/httpdocs/shaun/assetbag_brochure.pdf'' in /var/www/vhosts/assetbag.com/subdomains/church/httpdocs/shaun/index.php:6 Stack trace: #0 /var/www/vhosts/assetbag.com/subdomains/church/httpdocs/shaun/index.php(6): Imagick->__construct('/var/www/vhosts...') #1 {main} thrown in /var/www/vhosts/assetbag.com/subdomains/church/httpdocs/shaun/index.php on line 6"

Ghostscript is installed fine on the server, as I can use the convert command via the command line.

Does anyone know what the problem might be? maybe imagick can't find the gs file?
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

Re: Postscript delegate failed

Post by mkoppanen »

Is 'gs' in $PATH for the webserver user?
Mikko Koppanen
My blog: http://valokuva.org
Post Reply