Losslessly improve compression of PNG files. More information: https://github.com/shssoichiro/oxipng.
oxipng path/to/file.png
oxipng --out path/to/output.png path/to/file.png
oxipng "*.png"
oxipng --opt 0|1|2|3|4|5|6|max path/to/file.png
0
removes interlacing, 1
applies Adam7 interlacing, keep
preserves existing interlacing; default is 0
):oxipng --interlace 0|1|keep path/to/file.png
oxipng --alpha path/to/file.png
oxipng --zopfli --opt max path/to/file.png
oxipng --strip all path/to/file.png