Hacker GitHub

← All repos

mapbox/pixelmatch

View on GitHub ↗ ★ 7,018 JavaScript

The smallest, simplest and fastest JavaScript pixel-level image comparison library

6 mentions on Hacker News by 6 people: 1 story, 5 comments · first 2019-09-30 · latest 2025-02-07

Mentions per year 6 mentions · busiest year 2019 (2)
20082026
  1. …all that. For image comparison I've always found using pixelmatch by Mapbox works well for PNG's https://github.com/mapbox/pixelmatch
  2. I've had a lot of success using the pixelmatch library for image comparison / deduping https://github.com/mapbox/pixelmatch
    comment by danhak · 2023-01-29 · in Take more screenshots (2022)
  3. …state: https://github.com/simonw/image-diff - there are other, better options out there such as https://github.com/mapbox/pixelmatch Needle is an older system that did this using Selenium - updating that to work with Playwright (or…
  4. …https://github.com/mapbox/grid-index - Pixelmatch (image comparison in render tests) https://github.com/mapbox/pixelmatch - Polylabel (fitting labels into polygons) https://github.com/mapbox/polylabel
  5. …you can fuzz things a bit to handle artifact and small movements. A good lib we have some miles on https://github.com/mapbox/pixelmatch And this write up on niffy is pretty good https://segment.com/blog/perceptual-diffing-with-niffy/