2021-03-01 01:11:59 +08:00
|
|
|
# pngcheck
|
|
|
|
|
2025-03-22 08:37:12 +02:00
|
|
|
> Forensics tool for validating the integrity of PNG based (PNG, JNG, MNG) image files.
|
|
|
|
> Can also extract embedded images and text from a file.
|
|
|
|
> More information: <https://github.com/pnggroup/pngcheck>.
|
2021-03-01 01:11:59 +08:00
|
|
|
|
2025-03-22 08:37:12 +02:00
|
|
|
- Verify the integrity of an image file (width, height, and color depth):
|
2021-03-01 01:11:59 +08:00
|
|
|
|
2024-09-09 21:44:59 +02:00
|
|
|
`pngcheck {{path/to/image.png}}`
|
2021-03-01 01:11:59 +08:00
|
|
|
|
|
|
|
- Print information for an image with [c]olorized output:
|
|
|
|
|
2024-09-09 21:44:59 +02:00
|
|
|
`pngcheck -c {{path/to/image.png}}`
|
2021-03-01 01:11:59 +08:00
|
|
|
|
|
|
|
- Print [v]erbose information for an image:
|
|
|
|
|
2024-09-09 21:44:59 +02:00
|
|
|
`pngcheck -cvt {{path/to/image.png}}`
|
2021-03-01 01:11:59 +08:00
|
|
|
|
2022-12-04 08:53:34 +01:00
|
|
|
- Receive an image from `stdin` and display detailed information:
|
2021-03-01 01:11:59 +08:00
|
|
|
|
|
|
|
`cat {{path/to/image.png}} | pngcheck -cvt`
|
|
|
|
|
|
|
|
- [s]earch for PNGs within a specific file and display information about them:
|
|
|
|
|
2024-09-09 21:44:59 +02:00
|
|
|
`pngcheck -s {{path/to/image.png}}`
|
2021-03-01 01:11:59 +08:00
|
|
|
|
|
|
|
- Search for PNGs within another file and e[x]tract them:
|
|
|
|
|
2024-09-09 21:44:59 +02:00
|
|
|
`pngcheck -x {{path/to/image.png}}`
|