mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 21:44:58 +02:00
commit
283261a029
1 changed files with 23 additions and 0 deletions
23
pages/common/optipng.md
Normal file
23
pages/common/optipng.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue