blazediff
High-performance image diffing with block-based optimization and SIMD acceleration.
Features
- Block-based optimization - Skip identical regions for massive speedups on similar images
- SIMD acceleration - Native SSE4.1 (x86) and NEON (ARM) implementations
- Multiple formats - PNG, JPEG, and QOI support
- Perceptual diffing - YIQ-based color difference with antialiasing detection
- Cross-platform - Linux, macOS, and Windows support
Installation
CLI Usage
# Basic diff
# With custom threshold (0.0 - 1.0)
# JSON output for scripting
Library Usage
use ;
let options = DiffOptions ;
let result = diff?;
println!;
Interpret
Structured region analysis that takes a raw pixel diff and produces human-readable change descriptions. Available via --interpret in the CLI or interpret() in the library.
See INTERPRET.md for the full algorithm documentation — pipeline stages, formulas, classification rules, and output format.
Performance
3-4x faster than odiff, 8x faster than pixelmatch on 4K images.
License
MIT