Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pngcheck: add page #9015

Merged
merged 11 commits into from
Oct 17, 2022
21 changes: 21 additions & 0 deletions pages/linux/pngcheck.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# pngcheck

> 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: <http://www.libpng.org/pub/png/apps/pngcheck.html>.

- Verify the integrity of an image file:

`pngcheck {{path/to/file.png}}`

- Check the file with [v]erbose and [c]olorized output:

`pngcheck -vc {{path/to/file.png}}`

- Display contents of [t]ext chunks and [s]earch for PNGs within a specific file:

`pngcheck -ts {{path/to/file.png}}`

- Search for, and e[x]tract embedded PNGs within a specific file:

`pngcheck -x {{path/to/file.png}}`