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 and JPEG support via vendored libspng and libjpeg-turbo
- 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!;
Performance
3-4x faster than odiff, 8x faster than pixelmatch on 4K images.
License
MIT