BlazeDiff
Fast
1.5-4x faster than pixelmatch and odiff
Small
~700KB native binary, zero-dep JS core
Type-Safe
TypeScript support out of the box
BlazeDiff is a high-performance image diffing toolkit for visual regression testing, combining the fastest pure-JS core with optional Rust/N-API acceleration, validated SSIM/GMSD metrics, and ready-to-use matchers for Jest, Vitest, and Bun.
Usage
Detect Differences

Original

Modified
Highlight and Explain

Original

Modified
Powering
Packages
@blazediff/core
Blazing-fast pixel-by-pixel image comparison with block-based optimization. 1.5x faster than pixelmatch.
@blazediff/core-native
Native Rust binaries with SIMD. The fastest image diff in the world.
@blazediff/ssim
Fast single-threaded SSIM (Structural Similarity Index) metric for CI visual testing.
@blazediff/gmsd
Fast single-threaded GMSD (Gradient Magnitude Similarity Deviation) metric for CI visual testing.
@blazediff/object
Blazing-fast object comparison with path tracking, cycle detection, and CREATE/REMOVE/CHANGE types.
@blazediff/cli
Command-line interface for image comparison.
@blazediff/jest
Jest matcher for visual regression testing.
@blazediff/vitest
Vitest matcher for visual regression testing.
@blazediff/bun
Bun test matcher for visual regression testing.
@blazediff/matcher
Core matcher logic for visual regression testing.
@blazediff/ui
Unstyled web components for displaying image differences.
@blazediff/react
React components for image comparison.
@blazediff/codec-sharp
Image codec using Sharp.
@blazediff/codec-pngjs
PNG image codec using pngjs.
@blazediff/codec-jsquash-png
WASM-based PNG image codec using @jsquash/png.








