percent_cmy1
How much c/m/y coverage is there in a given png image.
Usage
percent_cmy filename.png
Overview
percent_cmy prints the percentage coverage for a given colour PNG image, to three decimal places. filename.png must be 3x8-bit RGB, such as is generated by GhostScript's png16m device. The cyan, magenta and yellow components are printed on standard output separated by a colon (:).
Examples
percent_cmy filename.png
yields
33.142:12.042:4.665
indicating that 33.142% of the page is covered in cyan, 12.042% by magenta and 4.665% by yellow.
Requirements
percent_cmy only requires libpng to be present on the system.
Installation
Please see the accompanying README and INSTALL files for installation instructions. Chances are if you're reading this it's correctly installed.