pixelmatch VS image-diff

Compare pixelmatch vs image-diff and see what are their differences.

pixelmatch

The smallest, simplest and fastest JavaScript pixel-level image comparison library (by mapbox)

image-diff

CLI tool for comparing images (by simonw)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
pixelmatch image-diff
5 2
5,837 34
1.5% -
3.1 0.0
8 months ago over 1 year ago
JavaScript Python
ISC License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pixelmatch

Posts with mentions or reviews of pixelmatch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-27.

image-diff

Posts with mentions or reviews of image-diff. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-14.
  • Show HN: Instantly create a GitHub repository to take screenshots of a web page
    11 projects | news.ycombinator.com | 14 Mar 2022
    You could absolutely get this working with GitHub Actions with a bit of creativity.

    I've been playing around with my own image-diff tool for this kind of thing, but it's not yet in a decent 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 Playwight via shot-scraper) would be an interesting project: https://github.com/python-needle/needle

What are some alternatives?

When comparing pixelmatch and image-diff you can also consider the following projects:

odiff - The fastest pixel-by-pixel image visual difference tool in the world.

needle - Automated tests for your CSS.

Cypress - Fast, easy and reliable testing for anything that runs in a browser.

cypress-visual-regression - Module for adding visual regression testing to Cypress

loki - 👁 Visual Regression Testing for Storybook

awesome-regression-testing - 🕶️ A curated list of resources around the topic: visual regression testing

BackstopJS - Catch CSS curve balls.

news-homepages - An open-source archive that gathers, saves, shares and analyzes news homepages

vue-testing-library - 🦎 Simple and complete Vue.js testing utilities that encourage good testing practices.

shot-scraper-template - Template repository for setting up shot-scraper

UneJournaux - https://www.liberation.fr/