Oxipng Multithreaded Lossless PNG Compression Optimizer
Oxipng is a multithreaded lossless PNG and APNG compression optimizer written in Rust. It reduces PNG file sizes without any quality loss using advanced compression techniques including Zopfli support, metadata stripping, and alpha channel optimization.
What it does
Oxipng Multithreaded Lossless PNG Compression Optimizer
Oxipng is a multithreaded lossless PNG and APNG compression optimizer written in Rust. It reduces PNG file sizes without any quality loss using advanced compression techniques including Zopfli support, metadata stripping, and alpha channel optimization.
Installation
Use the upstream install or setup path that matches your environment:
- cargo install oxipng
- git clone https://github.com/oxipng/oxipng.git
- cargo build --release
- docker run --rm -v $(pwd):/work ghcr.io/oxipng/oxipng -o 4 /work/file.png
Requirements and caveats from upstream:
-
Docker
- A Docker image is availlable at ghcr.io/oxipng/oxipng for linux/amd64 and linux/arm64.
- pyoxipng: Python wrapper for Oxipng
Basic usage or getting-started notes:
-
Oxipng is a command-line utility. An example usage, suitable for web, may be the following:
-
oxipng -o 4 --strip safe --alpha *.png
-
The most commonly used options are as follows:
-
Source: https://github.com/oxipng/oxipng
-
Extracted from upstream docs: https://raw.githubusercontent.com/oxipng/oxipng/HEAD/README.md
Source
Capabilities
Install
Quality
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,320 chars)