Pixelmatch Pixel-Level Image Comparison Library by Mapbox

Pixelmatch is the smallest, simplest, and fastest JavaScript pixel-level image comparison library by Mapbox. It features anti-aliased pixel detection and perceptual color difference metrics, making it ideal for visual regression testing in CI/CD pipelines.

agentskillexchange Updated 28 repo stars

File contents

Pixelmatch Pixel-Level Image Comparison Library by Mapbox

Pixelmatch is the smallest, simplest, and fastest JavaScript pixel-level image comparison library by Mapbox. It features anti-aliased pixel detection and perceptual color difference metrics, making it ideal for visual regression testing in CI/CD pipelines.

Installation

Use the upstream install or setup path that matches your environment:

  • npm install pixelmatch

Requirements and caveats from upstream:

  • so it's blazing fast and can be used in any environment (Node or browsers).
  • Node.js

Basic usage or getting-started notes:

Source

agentskillexchange/skills/tree/main/skills/pixelmatch-image-comparison-library commit 77e3fbe331

Frequently asked questions

npx skillmds@latest add agentskillexchange/pixelmatch-pixel-level-image-comparison-library-by-mapbox