1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 11:17:56 +01:00

Merge pull request #742 from oxguy3/optipng

optipng: add page
This commit is contained in:
Igor Shubovych 2016-01-28 23:33:14 +02:00
commit 283261a029

23
pages/common/optipng.md Normal file
View file

@ -0,0 +1,23 @@
# optipng
> PNG image file optimization utility.
- Compress a PNG with default settings:
`optipng {{file.png}}`
- Compress a PNG with best compression:
`optipng -o{{7}} {{file.png}}`
- Compress a PNG with fastest compression:
`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}}`