From f142b9966f27b0b039c97be217d434205f58e3da Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Thu, 28 Jan 2016 15:47:13 -0500 Subject: [PATCH] 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 0000000000..dac8598fbe --- /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}}`