2021-02-28 17:11:59 +00:00
|
|
|
# pngcheck
|
|
|
|
|
|
|
|
> Print detailed information about and verify PNG, JNG, and MNG files.
|
|
|
|
> More information: <http://www.libpng.org/pub/png/apps/pngcheck.html>.
|
|
|
|
|
|
|
|
- Print a summary for an image (width, height, and color depth):
|
|
|
|
|
2024-09-09 20:44:59 +01:00
|
|
|
`pngcheck {{path/to/image.png}}`
|
2021-02-28 17:11:59 +00:00
|
|
|
|
|
|
|
- Print information for an image with [c]olorized output:
|
|
|
|
|
2024-09-09 20:44:59 +01:00
|
|
|
`pngcheck -c {{path/to/image.png}}`
|
2021-02-28 17:11:59 +00:00
|
|
|
|
|
|
|
- Print [v]erbose information for an image:
|
|
|
|
|
2024-09-09 20:44:59 +01:00
|
|
|
`pngcheck -cvt {{path/to/image.png}}`
|
2021-02-28 17:11:59 +00:00
|
|
|
|
2022-12-04 07:53:34 +00:00
|
|
|
- Receive an image from `stdin` and display detailed information:
|
2021-02-28 17:11:59 +00:00
|
|
|
|
|
|
|
`cat {{path/to/image.png}} | pngcheck -cvt`
|
|
|
|
|
|
|
|
- [s]earch for PNGs within a specific file and display information about them:
|
|
|
|
|
2024-09-09 20:44:59 +01:00
|
|
|
`pngcheck -s {{path/to/image.png}}`
|
2021-02-28 17:11:59 +00:00
|
|
|
|
|
|
|
- Search for PNGs within another file and e[x]tract them:
|
|
|
|
|
2024-09-09 20:44:59 +01:00
|
|
|
`pngcheck -x {{path/to/image.png}}`
|