man pngcheck (Commandes) - Test PNG image files for corruption, and print size/type/compression info.
NAME
pngcheck - Test PNG image files for corruption, and print size/type/compression info.
SYNOPSIS
pngcheck [-vqt7f] file.png [file.png [...]]
pngcheck [-vqt7f] file.mng [file.mng [...]]
... | pngcheck [-sx][vqt7f]
pngcheck -{sx}[vqt7f] file-containing-PNGs...
DESCRIPTION
pngcheck verifies the integrity of PNG, JNG and MNG files (by checking the internal 32-bit CRCs or checksums) and optionally dumps almost all of 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 PNG and JNG chunks are supported, plus almost all MNG chunks (everything but PAST, DISC, tERm, DROP, DBYK, and ORDR). This is a command-line program with batch capabilities (e.g., ``pngcheck *.png'').
OPTIONS
pngcheck accepts the following options:
- -v
- test verbosely (print most chunk data)
- -q
- test quietly (only output errors)
- -t
- print contents of tEXt chunks (can be used with -q)
- -7
- print contents of tEXt chunks, escape chars >=128 (for 7-bit terminals)
- -p
- print contents of PLTE, tRNS, hIST, sPLT and PPLT (can be used with -q)
- -f
- force continuation even after major errors
- -s
- search for PNGs within another file
- -x
- search for PNGs and extract them when found
AUTHOR
This man page was written by Kevin M. Rosenberg <kmr@debian.org> since the upstream package did not include a man page.
NOTES
MNG support is incomplete. Based on MNG Draft 64.