PDFColorParser – a python script for detecting PDF pages containing color

The following script was written to find out which pages of a PDF file contain color. I used it for my thesis. Save it to a file and call it with script.py INPUTPDF.pdf