pngcheck - Man Page
manual page for pngcheck 3.0.3
Examples (TL;DR)
- Print a summary for an image (width, height, and color depth):
pngcheck path/to/image.png
- Print information for an image with [c]olorized output:
pngcheck -c path/to/image.png
- Print [v]erbose information for an image:
pngcheck -cvt path/to/image.png
- Receive an image from
stdin
and display detailed information:cat path/to/image.png | pngcheck -cvt
- [s]earch for PNGs within a specific file and display information about them:
pngcheck -s path/to/image.png
- Search for PNGs within another file and e[x]tract them:
pngcheck -x path/to/image.png
Synopsis
pngcheck [-7cpqtv] file.{png|jng|mng} [file2.{png|jng|mng} [...]]
... | pngcheck [-7cpqstvx]
pngcheck [-7cpqstvx] file-containing-PNGs...
Description
PNGcheck, version 3.0.3 of 25 April 2021, by Alexander Lehmann, Andreas Dilger and Greg Roelofs.
Test PNG, JNG or MNG image files for corruption, and print size/type info.
Options
- -7
print contents of tEXt chunks, escape chars >=128 (for 7-bit terminals)
- -c
colorize output (for ANSI terminals)
- -p
print contents of PLTE, tRNS, hIST, sPLT and PPLT (can be used with -q)
- -q
test quietly (output only errors)
- -s
search for PNGs within another file
- -t
print contents of tEXt chunks (can be used with -q)
- -v
test verbosely (print most chunk data)
- -vv
test very verbosely (decode & print line filters)
- -w
suppress windowBits test (more-stringent compression check)
- -x
search for PNGs within another file and extract them when found
Note
MNG support is more informational than conformance-oriented.
See Also
Referenced By
png-fix-IDAT-windowsize(1), pngsplit(1).