---
name: "percent_cmy"
section: "1"
platform: "linux"
package: "printbill"
version: "4.1.2-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/percent_cmy"
---

# percent\_cmy(1)

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/1.md),* *[printbill(8)](/printbill/8.md),* *[printbilld(1)](/printbilld/1.md),* *[printbill\_configure(8)](/printbill_configure/8.md),* *[printbill\_grapher(1)](/printbill_grapher/1.md),* *[percentblack(1)](/percentblack/1.md),* *[percentcolour(1)](/percentcolour/1.md),* *[pqcheck(1)](/pqcheck/1.md),* *[printquote(1)](/printquote/1.md),* *[printbill\_printer(1)](/printbill_printer/1.md),* *[printbillrc(5)](/printbillrc/5.md),* *[printcap(5)](/printcap/5.md),* *[init\_from\_passwd(8)](/init_from_passwd/8.md),* *[pqm(8)](/pqm/8.md).*
