optipng

optipng

TLDR

Compress a PNG with default settings

>_ optipng [path/to/file.png]
copy

Compress a PNG with best compression

>_ optipng -o[7] [path/to/file.png]
copy

Compress a PNG with fastest compression

>_ optipng -o[0] [path/to/file.png]
copy

Compress a PNG and add interlacing

>_ optipng -i [1] [path/to/file.png]
copy

Compress a PNG and preserve all metadata (including file timestamps)

>_ optipng -preserve [path/to/file.png]
copy

Compress a PNG and remove all metadata

>_ optipng -strip all [path/to/file.png]
copy

Copied to clipboard
free 100$ digital ocean credit