Design and interface · Independent · 19 Oct 2026

dmtrKovalenko/odiff

A very fast SIMD-first image comparison library (with nodejs API)

← Design and interface

In simple English

This tool compares two image files and highlights the differences between them. It runs in milliseconds, even on large screenshots. You can use it in your terminal, inside your Node.js code, or with browser testing tools. It saves time when you run automated tests that take screenshots of websites. The software is free to use and open source.

What it is

Odiff is an image comparison library written in the Zig programming language. It uses low-level hardware optimizations to speed up pixel matching across different image formats.

What it is good for

Solo builders who need to check visual regression in web apps or compare generated images without slowing down their test pipeline.

Stars3.3k
LicenceMIT
Latestv4.5.0 (2026-07-23)checked 19 Oct 2026
Last code change2026-10-13
Written inZig
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Compares different image formats like PNG, JPEG, and WebP against each other.
  • Runs much faster than traditional image comparison tools.
  • Includes a persistent server mode to avoid startup delays in automated tests.
Watch for
  • Requires familiarity with the command line or Node.js to set up.
  • Produces a visual diff file only when actual pixel differences are found.
  • Needs enough processor support for hardware vector instructions to reach top speed.
Replaces

pixelmatch

Works well with

Playwright

Similar repositories
  • mapbox/pixelmatch7.0k stars

    A popular JavaScript pixel-by-pixel image comparison library with similar output.

Also reviewed on Repo Radar
  • SVG-Edit/svgedit7.8k stars

    A vector drawing editor that runs in a browser and can be embedded in a web page.

  • viliusle/miniPaint3.5k stars

    A layered image editor that runs in a browser, with no upload and nothing installed.

  • johanmattssonm/birdfont561 stars

    A free desktop editor for drawing a typeface and exporting it as an installable font file.

Install
npm install odiff-bin
odiff --help

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.