I\'m trying to find all fill and stroke values used in an EPS file. I can parse the file, I just can\'t figure out how color values are defined in the EPS postscript section
the size of the bit image should not really matter if all you do is get a histogram and throw it away:
pstopnm -stdout file.ps | ppmhist
I assume everyone has netpbm...netpbm.sourceforge.net