CmdID

CmdID / Commands

oxipng

Losslessly improve compression of PNG files. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Compress a PNG file (overwrites the file by default)

oxipng path/to/file.pngIdentify

Compress a PNG file and save the output to a new file

oxipng --out path/to/output.png path/to/file.pngIdentify

Compress all PNG files in the current directory using multiple threads

oxipng "*.png"Identify

Compress a file with a set optimization level (default is 2)

oxipng --opt 0 path/to/file.pngIdentify

Set the PNG interlacing type (off removes interlacing, on applies Adam7 interlacing, keep preserves existing interlacing; default is off)

oxipng --interlace off path/to/file.pngIdentify

Perform additional optimization on images with an alpha channel

oxipng --alpha path/to/file.pngIdentify

Use the much slower but stronger Zopfli compressor with max optimization

oxipng --zopfli --opt max path/to/file.pngIdentify

Strip all non-critical metadata chunks

oxipng --strip all path/to/file.pngIdentify