🍺 BREW Explorer

← all formulae

imgdiff

brew install imgdiff v1.0.2 MIT

Pixel-by-pixel image difference tool

11
30-day installs · #8358
20
90-day · #9742
136
365-day · #8368
1.7k
★ GitHub stars · updated 5y ago

Build dependencies

go

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "go"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Pixel-by-pixel image difference tool",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:49+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "imgdiff",
  "github_default_branch": "master",
  "github_last_commit_at": "2021-03-25T08:02:58Z",
  "github_readme_excerpt": "# imgdiff\n\nFaster than [the fastest in the world pixel-by-pixel image difference tool](https://github.com/dmtrKovalenko/odiff).\n\n## Why?\n\nimgdiff isn\u0027t as fast as a tool like this should be and I\u0027m not proud of it, but it is 3X faster than\n[the fastest in the world pixel-by-pixel image difference tool](https://github.com/dmtrKovalenko/odiff),\nso maybe you\u0027ll find it useful.\n\n## Features\n\nIt can do everything [odiff](https://github.com/dmtrKovalenko/odiff) can. Faster.\n\n## Benchmarks\n\nI\u0027ve tested it on Linux, Intel(R) Core(TM) i7-4700HQ CPU @ 2.40GHz, 8 cores.\n\n[Cypress image](https://github.com/dmtrKovalenko/odiff/blob/main/images/www.cypress.io.png) 3446 x 10728\n\n| Command                                                        |      Mean [s] | Min [s] | Max [s] | Relative |\n| :------------------------------------------------------------- | ------------: | ------: | ------: | -------: |\n| `imgdiff images/cypress-1.png images/cypress-2.png output.png` | 1.442 \u00b1 0.012 |   1.420 |   1.462 |     1.00 |\n| `odiff images/cypress-1.png images/cypress-2.png output.png`   | 6.475 \u00b1 0.092 |   6.300 |   6.583 |     4.49 |\n\n[Water image](https://github.com/dmtrKovalenko/odiff/blob/main/images/water-4k.png) 8400 x 4725\n\n| Command                                                    |       Mean [s] | Min [s] | Max [s] | Relative |\n| :--------------------------------------------------------- | -------------: | ------: | ------: | -------: |\n| `imgdiff images/water-1.png images/water-2.png output.png` | 1.908 \u00b1 0.0058 |   1.841 |   2.002 |     1.00 |\n| `odiff images/water-1.png images/water-2.png output.png`   |  6.016 \u00b1 0.415 |   5.643 |   7.140 |     3.15 |\n\n## Usage\n\n```\nUsage: imgdiff [--threshold THRESHOLD] [--diff-image] [--fail-on-layout] BASE COMPARE OUTPUT\n\nPositional arguments:\n  BASE                   Base image.\n  COMPARE                Image to compare with.\n  OUTPUT                 Output image path.\n\nOptions:\n  --threshold THRESHOLD, -t THRESHOLD\n                     ",
  "github_repo": "n7olkachev/imgdiff",
  "github_stars": 1705,
  "github_topics": [],
  "homepage": "https://github.com/n7olkachev/imgdiff",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 11,
  "installs_365d": 136,
  "installs_90d": 20,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "imgdiff",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 8358,
  "rank_365d": 8368,
  "rank_90d": 9742,
  "raw_hash": "463b5a5dfe7ab90f",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/i/imgdiff.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.0.2",
  "versioned_formulae": [],
  "why_use_this": null
}