Releases: imazen/mozjpeg-rs
Releases · imazen/mozjpeg-rs
v0.8.0: ARM NEON SIMD + 100% Safe Rust
Full Changelog: v0.7.0...v0.8.0
v0.7.0
Full Changelog: v0.6.0...v0.7.0
v0.6.0
Full Changelog: v0.5.5...v0.6.0
v0.5.5
Full Changelog: v0.5.4...v0.5.5
v0.5.4
Full Changelog: v0.5.3...v0.5.4
v0.5.1
What's Changed
Bug Fixes
- Fixed SIMD entropy encoder DC double sign adjustment bug - The SIMD encoder was incorrectly applying sign adjustment twice to DC coefficients (once during zigzag reordering and again in
encode_dc_fast), causing image corruption particularly visible in 4:2:0 subsampling mode with Huffman optimization enabled.
Performance
- Rust 1.65-2.57x faster than C mozjpeg with identical settings (4:2:0, Robidoux tables, Trellis AC+DC, Huffman optimization, Deringing)
Dependencies
- Integrated archmage 0.1.0 for safe SIMD capability tokens
Other
- Fixed clippy warnings in examples and tests
- Added apples-to-apples timing benchmark (
examples/timing_benchmark.rs)
Benchmark Results (v0.5.1)
Apples-to-apples comparison with identical settings:
| Image Size | Rust | C mozjpeg | Speedup |
|---|---|---|---|
| 768x512 | 25.5ms | 42.0ms | 1.65x faster |
| 2048x2048 | 426ms | 1096ms | 2.57x faster |
Installation
[dependencies]
mozjpeg-rs = "0.5.1"