tldr/pages/common/pngcrush.md

17 lines
403 B
Markdown
Raw Normal View History

2016-01-28 20:44:45 +00:00
# pngcrush
> PNG compression utility.
2019-05-29 14:53:52 +01:00
> More information: <https://pmt.sourceforge.io/pngcrush>.
2016-01-28 20:44:45 +00:00
- Compress a PNG file:
`pngcrush {{in.png}} {{out.png}}`
- Compress all PNGs and output them to the specified directory:
2016-01-28 20:44:45 +00:00
`pngcrush -d {{path/to/output}} *.png`
2016-02-08 13:05:52 +00:00
- Compress PNG file with all 114 available algorithms and pick the best result:
2016-01-28 20:44:45 +00:00
`pngcrush -rem allb -brute -reduce {{in.png}} {{out.png}}`