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
dishelt
Posts: 6
Joined: 2013-04-23T12:06:46-07:00
Authentication code: 6789

Postscript delegate failed

Post by dishelt »

Hi, my problem is when i want to convert pdf to jpg,png, when i want to convert from command line, its sucessfull, but when i do exec() from php it returns: convert.exe: Postscript delegate failed `c:/a/dr.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/682. [1] => convert.exe: no images defined `c:/a/a.jpg' @ error/convert.c/ConvertImageCommand/3106. ) , i hope anybody can help me please , thank you
clintsulis
Posts: 8
Joined: 2013-10-15T12:15:41-07:00
Authentication code: 6789
Location: Santa Fe, NM

Re: Postscript delegate failed

Post by clintsulis »

Did you manage to find a solution?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Postscript delegate failed

Post by snibgo »

The problem may be that the system path may be different for PHP, so Ghostscript can't be found.

A workaround might be to put the full path to Ghostscript in delegates.xml.
snibgo's IM pages: im.snibgo.com
Post Reply