From ad2fd7c87e4d2b17fe3f3d0a462cc11483d900e6 Mon Sep 17 00:00:00 2001 From: tassadarliu Date: Mon, 1 Mar 2021 01:11:59 +0800 Subject: [PATCH] pngcheck: add page (#5310) --- pages/common/pngcheck.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/pngcheck.md diff --git a/pages/common/pngcheck.md b/pages/common/pngcheck.md new file mode 100644 index 0000000000..60285efe1e --- /dev/null +++ b/pages/common/pngcheck.md @@ -0,0 +1,28 @@ +# pngcheck + +> Print detailed information about and verify PNG, JNG, and MNG files. +> More information: . + +- Print a summary for an image (width, height, and color depth): + +`pngcheck {{image.png}}` + +- Print information for an image with [c]olorized output: + +`pngcheck -c {{image.png}}` + +- Print [v]erbose information for an image: + +`pngcheck -cvt {{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 {{image.png}}` + +- Search for PNGs within another file and e[x]tract them: + +`pngcheck -x {{image.png}}`