pixo

Crates.iopixo
lib.rspixo
version0.4.1
created_at2025-12-26 01:09:27.418601+00
updated_at2025-12-28 18:31:24.96773+00
descriptionA minimal-dependency, high-performance image compression library
homepagehttps://pixo.leerob.com
repositoryhttps://github.com/leerob/pixo
max_upload_size
id2005109
size1,437,665
Lee Robinson (leerob)

documentation

https://docs.rs/pixo

README

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.

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

Commit count: 0

cargo fmt