oxipng
Losslessly improve compression of PNG files. More information: https://manned.org/oxipng.
- Compress a PNG file (overwrites the file by default):
oxipng
- Compress a PNG file and save the output to a new file:
oxipng --out
- Compress all PNG files in the current directory using multiple threads:
oxipng "*.png"
- Compress a file with a set optimization level (default is 2):
oxipng
- Set the PNG interlacing type (
offremoves interlacing,onapplies Adam7 interlacing,keeppreserves existing interlacing; default isoff):
oxipng
- Perform additional optimization on images with an alpha channel:
oxipng
- Use the much slower but stronger Zopfli compressor with max optimization:
oxipng max
- Strip all non-critical metadata chunks:
oxipng --strip all
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
