SYNOPSIS

  pngcheck [-vqt7f] file.png [file.png [...]]
  pngcheck [-vqt7f] file.mng [file.mng [...]]
  pngcheck -{sx}[vqt7f] file-containing-PNGs...

  Can be used in pipe:

  ... | pngcheck [-sx][vqt7f]

OPTIONS

-7

Print contents of text chunks, escape chars >=128 (for 7-bit terminals).

-f

Force continuation even after major errors.

-p

Display contents of \s-1PLTE\s0, tRNS, hIST, sPLT and \s-1PPLT\s0 (can be used with -q).

-q

Test quietly (only output errors).

-s

Search for PNGs within another file.

-t

Display contents of tEXt chunks (can be used with -q).

-v

test verbosely (print most chunk data).

-x

Search for PNGs and extract them when found.

DESCRIPTION

pngcheck is the official \s-1PNG\s0 tester and debugger. Originally designed simply to test the CRCs within a \s-1PNG\s0 image file (e.g., to check for \s-1ASCII\s0 rather than binary transfer), it has been extended to check and optionally print almost all the information about a \s-1PNG\s0 image and to verify that it conforms to the \s-1PNG\s0 specification. It also includes partial support for \s-1MNG\s0 animations.

It can dump the chunk-level information in the image in human-readable form. For example, it can be used to print the basic stats about an image (dimensions, bit depth, etc.); to list the color and transparency info in its palette; or to extract the embedded text annotations. All \s-1PNG\s0 and \s-1JNG\s0 chunks are supported, plus almost all \s-1MNG\s0 chunks (everything but \s-1PAST\s0, \s-1DISC\s0, tERm, \s-1DROP\s0, \s-1DBYK\s0, and \s-1ORDR\s0). This is a command-line program with batch capabilities (e.g., pngcheck *.png).

ENVIRONMENT

None.

FILES

None.

RELATED TO pngcheck…

pngchunkdesc\|(1) pngchunks\|(1) pngcomp\|(1) pngcp\|(1) pngcrush\|(1) pnginfo\|(1) pngmeta\|(1) pngnq\|(1) pngquant\|(1) pngsplit\|(1)

AUTHORS

Program was written by Greg Roelofs <[email protected]>, <[email protected]>.

This manual page was written by Kevin M. Rosenberg <[email protected]> for the Debian \s-1GNU\s0 system (but may be used by others). Updated and converted to Perl \s-1POD\s0 source format by Jari Aalto <[email protected]>. Released under license \s-1GNU\s0 \s-1GPL\s0 v2 or (at your option) any later version. For more information about license, visit <http://www.gnu.org/copyleft/gpl.html>.