1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/optipng.md
2016-01-28 16:07:49 -05:00

23 lines
414 B
Markdown

# 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}}`