man percentcolour (Commandes) - how much C/M/Y/K coverage is there in a given PNG image.
NAME
percentcolour - how much C/M/Y/K coverage is there in a given PNG image.
SYNOPSIS
percentcolour filename.png
DESCRIPTION
percentcolour 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, yellow and black components are printed on standard output separated by a colon (:).
EXAMPLE
percentcolour filename.png
yields
33.142:12.042:4.665:0.516
indicating that 33.142% of the page is covered in cyan, 12.042% by magenta, 4.665% by yellow and 0.516% by black.
REQUIREMENTS
percentcolour 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), percent_cmy(1), pqcheck(1), printquote(1), printbill_printer(1), printbillrc(5), printcap(5), init_from_passwd(8), pqm(8).