From c2f3ce125baed79afb64f9bb8ab22e7985a81377 Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Thu, 28 Jan 2016 15:44:45 -0500 Subject: [PATCH 1/2] pngcrush: add page --- pages/common/pngcrush.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/common/pngcrush.md diff --git a/pages/common/pngcrush.md b/pages/common/pngcrush.md new file mode 100644 index 0000000000..c356039e63 --- /dev/null +++ b/pages/common/pngcrush.md @@ -0,0 +1,15 @@ +# pngcrush + +> PNG image compression utility. + +- 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 best (but slowest) possible compression: + +`pngcrush -rem allb -brute -reduce {{in.png}} {{out.png}}` From 5d671ea9659ba3a997f7f4e6fee0ce9c752f1222 Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Thu, 28 Jan 2016 16:27:44 -0500 Subject: [PATCH 2/2] pngcrush: changed wording to match optipng --- pages/common/pngcrush.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/pngcrush.md b/pages/common/pngcrush.md index c356039e63..22d07a2d59 100644 --- a/pages/common/pngcrush.md +++ b/pages/common/pngcrush.md @@ -10,6 +10,6 @@ `pngcrush -d {{path/to/output}} *.png` -- Compress PNG file with best (but slowest) possible compression: +- Compress PNG file with best compression: `pngcrush -rem allb -brute -reduce {{in.png}} {{out.png}}`