Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 2.65 KB

File metadata and controls

46 lines (31 loc) · 2.65 KB

pixo

crates.io docs.rs License: MIT

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

Learn more about this project.

Pixo logo

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 — 159 KB with competitive compression (benchmarks)
  • Well-tested — 86% code coverage, 965 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