mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 22:57:20 +00:00
Update cheatsheets
This commit is contained in:
26
linux/pngcheck
Normal file
26
linux/pngcheck
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user