Skip to Content

BlazeDiff

Blazing Fast

Algorithms that outperform traditional solutions

Lightweight

Minimal bundle size and low memory usage

Type-Safe

TypeScript support out of the box

BlazeDiff is a high-performance diff checking ecosystem. Built with cutting-edge algorithms and optimized for speed, BlazeDiff provides tools for comparing content, visualizing differences, and integrating diff functionality into your applications.

Quickstart

npm i @blazediff/cli

Compare images directly from the command line with @blazediff/cli. Supports all algorithms: pixel diff, SSIM, MS-SSIM, GMSD, and the native Rust binary.

terminal
|

Powering

Usage

Detect Different Pixels

Fixture A

Image 1

Fixture B

Image 2

Result

Pure JavaScript image comparison — ~1.5x faster than pixelmatch with identical accuracy. Runs anywhere JS runs: browsers, Node.js, Deno, Bun.

Native Rust + SIMD binary via N-API — the fastest single-threaded image diff. ~3-4x faster than odiff on large images.

Compare Perceptual Quality

SSIM Structural Similarity Index

Fixture A

Image 1

Fixture B

Image 2

SSIM Map

GMSD Gradient Magnitude Similarity Deviation

Fixture A

Image 1

Fixture B

Image 2

Result

Find Object Inequalities

Lightning-fast structural object comparison with detailed change tracking.

@blazediff/object

Integrate in Your Tests

Drop-in image snapshot matchers for your test framework of choice.

Visualize Differences

Build image comparison interfaces with Web or React Components.


Last updated on