mirror of https://github.com/CrimsonTome/tldr.git
17 lines
403 B
Markdown
17 lines
403 B
Markdown
# pngcrush
|
|
|
|
> PNG compression utility.
|
|
> More information: <https://pmt.sourceforge.io/pngcrush>.
|
|
|
|
- Compress a PNG file:
|
|
|
|
`pngcrush {{in.png}} {{out.png}}`
|
|
|
|
- Compress all PNGs and output them to the specified directory:
|
|
|
|
`pngcrush -d {{path/to/output}} *.png`
|
|
|
|
- Compress PNG file with all 114 available algorithms and pick the best result:
|
|
|
|
`pngcrush -rem allb -brute -reduce {{in.png}} {{out.png}}`
|