A multithreaded lossless PNG/APNG compression optimizer written in Rust, usable via CLI or as a library.
Oxipng is a multithreaded lossless PNG and APNG compression optimizer written in Rust. It reduces PNG file sizes without sacrificing image quality, making it faster and more efficient than many traditional single-threaded optimizers. It can be used via command-line interface or as a library in Rust projects.
Developers and system administrators who need to optimize PNG images for web performance, storage efficiency, or automated workflows, particularly those working with Rust-based toolchains or requiring high-speed batch processing.
Oxipng offers superior speed through multithreading and Rust's performance advantages, while providing robust lossless compression. Its flexibility as both a CLI tool and library, along with features like alpha optimization and metadata stripping, makes it a versatile choice for modern image optimization pipelines.
Multithreaded PNG optimizer written in Rust
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Leverages multiple CPU cores for concurrent image processing, making batch optimization significantly faster than single-threaded alternatives like OptiPNG.
Available as a CLI tool, Docker container, pre-commit hook, and Rust library, allowing seamless adoption in various development and deployment workflows.
Specifically targets transparent pixels to improve compression ratios without affecting visible quality, a feature highlighted in the README for handling images with alpha channels.
Offers safe and all stripping options to remove non-essential metadata chunks, reducing file sizes for web use without compromising critical image data.
Only provides limited optimization for animated PNGs, with transformations disabled, and the README explicitly recommends using other tools like apngopt for best results.
Higher optimization levels do not always yield smaller files, as oxipng is not a brute-force optimizer, which might disappoint users seeking maximum compression assurance.
The alpha feature alters color values of fully transparent pixels, making it technically lossy and potentially unsuitable for applications requiring exact pixel data preservation.
oxipng is an open-source alternative to the following products: