How GhostScript is used
Posted: 2012-03-16T12:17:42-07:00
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
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