From f142b9966f27b0b039c97be217d434205f58e3da Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Thu, 28 Jan 2016 15:47:13 -0500 Subject: [PATCH 1/2] optipng: add page --- pages/common/optipng.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/common/optipng.md diff --git a/pages/common/optipng.md b/pages/common/optipng.md new file mode 100644 index 000000000..dac8598fb --- /dev/null +++ b/pages/common/optipng.md @@ -0,0 +1,23 @@ +# optipng + +> PNG image file optimization utility. + +- Compress a PNG with default settings: + +`optipng {{file.png}}` + +- Compress a PNG as optimally (but slowly) as possible: + +`optipng -o{{7}} {{file.png}}` + +- Compress a PNG as quickly (but non-optimally) as possible: + +`optipng -o{{0}} {{file.png}}` + +- Compress a PNG and add interlacing: + +`optipng -i {{1}} {{file.png}}` + +- Compress a PNG and remove all metadata: + +`optipng -strip all {{file.png}}` From 78eebef66bb404c85ecff61abca31e57d0035514 Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Thu, 28 Jan 2016 16:07:49 -0500 Subject: [PATCH 2/2] optipng: reworded options 2 and 3 --- pages/common/optipng.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/optipng.md b/pages/common/optipng.md index dac8598fb..b20b6827d 100644 --- a/pages/common/optipng.md +++ b/pages/common/optipng.md @@ -6,11 +6,11 @@ `optipng {{file.png}}` -- Compress a PNG as optimally (but slowly) as possible: +- Compress a PNG with best compression: `optipng -o{{7}} {{file.png}}` -- Compress a PNG as quickly (but non-optimally) as possible: +- Compress a PNG with fastest compression: `optipng -o{{0}} {{file.png}}`