views:

176

answers:

0

I'm using GhostScript to convert PDF files into images for printing.

Right now my method is to convert the PDF file to tiffg4 at 600dpi and then send those to the printer.

I need to find a way to detect if the PDF has color pages or not and convert those color pages to something like PNG16m while the B&W pages get converted to tiffg4.

Is there a way to use Ghostscript to detect if a PDF has color?