pixo 0.1.0

A minimal-dependency, high-performance image compression library
Documentation

pixo

crates.io docs.rs License: MIT

A minimal-dependency, high-performance image compression library written in Rust.

This is a work-in-progress and exploration of coding agents.

Features

  • Zero runtime dependencies — All encoding algorithms implemented from scratch
  • Entirely in Rust — No C or C++ codecs required
  • PNG and JPEG support — Lossless PNG, lossy PNG (quantization), and lossy JPEG
  • Small WASM binary — 142 KB with competitive compression (benchmarks)
  • Well-tested — 79% code coverage, 502 tests (codebase comparison)

Usage

  1. Playground (recommended) — Try it in your browser
  2. WASM — Use in browser or Node.js applications
  3. CLI — Compress images from the command line
  4. Rust Crate — Use as a library in your Rust projects

Documentation

Comprehensive guides explaining the algorithms and compression strategies:

Core Algorithms

Image Formats