Hello,
I'm really new working with ImageMagick 6.7.5 and we're trying to utilize GhostScript 8.63 through the delegates.xml file on a Unix server, to convert a PDF to PNG files. However, though we've confirmed that we're changing the only delegates.xml file in the path ( -debug configure ), it seems that no matter what we put in the gs command for our situation (decode="pdf" encode="png") there is no change to the output file.
Our current delegates.xml line we're trying to use is:
<delegate decode="pdf" encode="png" mode="bi" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 "-sDEVICE=png16m" "-sOutputFile=%o" "-f%i""/>
When I run "convert -list configure", I get the output:
...
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-wmf=no --with-perl=no
...
Is the "--with-gslib=no " telling me that no GhostScript delegates lib will be used? If so, how can I turn this on so that the delegates.xml will be utilized for the PDF to PNG conversion?
Thanks
How GhostScript is used
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How GhostScript is used
I am not an expert on all this, but I think you need to edit your ./configure file and put --with-gslib. I do that in my ./configure file. see http://www.imagemagick.org/script/advan ... #configure