Postscript delegate failed with jmagic

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?".
Post Reply
dyou
Posts: 1
Joined: 2013-05-02T09:27:22-07:00
Authentication code: 6789

Postscript delegate failed with jmagic

Post by dyou »

Hi, Anyone know hot imagemagick find the postscript? we are able to convert a pdf file use command line "convert". However, when we run it in jmagic, it complains about:

java -Djava.library.path=/image/lib -cp .:jmagick-6.6.2.jar Test
Exception in thread "Main Thread" magick.MagickApiException: Postscript delegate failed `/tmp/test.pdf': No such file or directory @ pdf.c/ReadPDFImage/611
at magick.MagickImage.readImage(Native Method)
at magick.MagickImage.<init>(MagickImage.java:96)
at Test.main(Test.java:16)

This is on a linux box, and we have tried to create a softlink to the "gs" command at current directory, but no help.

Any idea?

Thanks
David
:?
Post Reply