.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "pngcheck 1" .TH pngcheck 1 "2020-12-08" "pngcheck" "2020-12-20" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" pngcheck \- Test PNG image files for corruption, display size, type, compression info .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 3 \& 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] .Ve .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-7\fR" 4 .IX Item "-7" Print contents of text chunks, escape chars >=128 (for 7\-bit terminals). .IP "\fB\-f\fR" 4 .IX Item "-f" Force continuation even after major errors. .IP "\fB\-p\fR" 4 .IX Item "-p" Display contents of \s-1PLTE,\s0 tRNS, hIST, sPLT and \s-1PPLT\s0 (can be used with \&\fB\-q\fR). .IP "\fB\-q\fR" 4 .IX Item "-q" Test quietly (only output errors). .IP "\fB\-s\fR" 4 .IX Item "-s" Search for PNGs within another file. .IP "\fB\-t\fR" 4 .IX Item "-t" Display contents of tEXt chunks (can be used with \fB\-q\fR). .IP "\fB\-v\fR" 4 .IX Item "-v" test verbosely (print most chunk data). .IP "\fB\-x\fR" 4 .IX Item "-x" Search for PNGs and extract them when found. .SH "DESCRIPTION" .IX Header "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. .PP 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, DISC,\s0 tERm, \s-1DROP, DBYK,\s0 and \s-1ORDR\s0). This is a command-line program with batch capabilities (e.g., pngcheck *.png). .SH "ENVIRONMENT" .IX Header "ENVIRONMENT" None. .SH "FILES" .IX Header "FILES" None. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBpngchunkdesc\fR\|(1) \&\fBpngchunks\fR\|(1) \&\fBpngcomp\fR\|(1) \&\fBpngcp\fR\|(1) \&\fBpngcrush\fR\|(1) \&\fBpnginfo\fR\|(1) \&\fBpngmeta\fR\|(1) \&\fBpngnq\fR\|(1) \&\fBpngquant\fR\|(1) \&\fBpngsplit\fR\|(1) .SH "AUTHORS" .IX Header "AUTHORS" Program was written by Greg Roelofs , . .PP This manual page was written by Kevin M. Rosenberg 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 . Released under license \s-1GNU GPL\s0 v2 or (at your option) any later version. For more information about license, visit .