1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 22:17:57 +01:00
tldr/pages/common/pngcrush.md
2019-05-31 19:47:40 +01:00

390 B

pngcrush

PNG image compression utility. More information: https://pmt.sourceforge.io/pngcrush.

  • Compress a PNG file:

pngcrush {{in.png}} {{out.png}}

  • Compress all PNGs and output to 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}}