Skip to Content
New: @blazediff/core-native now includes interpret — structured diff analysis to understand what changed. Read more →

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

Image and object diffing. Rust native binary with SIMD, pure JS core, perceptual metrics (SSIM, GMSD), structured interpret mode, and test framework matchers for Jest/Vitest/Bun.

Usage

Detect Differences

Original

Original

Modified

Modified

Highlight and Explain

Original

Original

Modified

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.


Last updated on