프로젝트
GitHub에서 보기 
leerob/pixo
소개
Rust로 작성된 고성능 이미지 압축 라이브러리입니다.
디자인 및 미디어What you can do
- 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)
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalpixo
A minimal-dependency, high-performance image compression library written in Rust.
Learn more about this project.
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
- Playground (recommended) — Try it in your browser
- WASM — Use in browser or Node.js applications
- CLI — Compress images from the command line
- Rust Crate — Use as a library in your Rust projects
Documentation
Comprehensive guides explaining the algorithms and compression strategies:
- Introduction to Image Compression — Why and how we compress images
- Introduction to Rust — Rust features through the lens of pixo
Core Algorithms
- Huffman Coding — Variable-length codes based on symbol frequency
- LZ77 Compression — Dictionary-based compression with sliding windows
- DEFLATE Algorithm — How LZ77 and Huffman combine
Image Formats
- PNG Encoding — Lossless compression with predictive filtering
- JPEG Encoding — Lossy compression pipeline
- Discrete Cosine Transform — The mathematical heart of JPEG
- Quantization — How JPEG achieves compression
관련 프로젝트 살펴보기
불러오는 중…