I have the following line in delegates.xml that converts a pdf to a png (for easy reading I turned escaped quotation to quotations):
Code: Select all
"gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s"
What should I replace all the %s strings with? How can I find what is in there? The header of delegates.xml does not explain what is done with "ps:alpha" decoders.
This is the convert command I use:
Code: Select all
convert -density 200 /tmp/input.pdf[0] -quality 100 output.png