man percent_cmy (Commandes) - how much C/M/Y coverage is there in a given PNG image.
NAME
percent_cmy - how much C/M/Y coverage is there in a given PNG image.
SYNOPSIS
percent_cmy filename.png
DESCRIPTION
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 (:).
EXAMPLE
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.
AUTHORS
printbill and the accompanying utilities were written by Daniel Franklin (d.franklin@ieee.org). The web interface was written by Phil Ciufo (phil@snrc.uow.edu.au).
AVAILABILITY
You can always grab the latest and greatest version from http://ieee.uow.edu.au/~daniel/software/printbill
SEE ALSO
printbill(1), printbill(8), printbilld(1), printbill_configure(8), printbill_grapher(1), percentblack(1), percentcolour(1), pqcheck(1), printquote(1), printbill_printer(1), printbillrc(5), printcap(5), init_from_passwd(8), pqm(8).