/pixtest

A library to compare and test images through image differential.

Primary LanguageJavaScriptMIT LicenseMIT

pixtest

tag build

A library to compare and test images through image differential.

Installation

npm install pixtest

Usage

const { pixtest } = require('pixtest');
const diff = pixtest({
  test: 'testcase-1.jpg',
  dir: `${__dirname}/imagediff`,
  candidate: 'testcase-1-newversion.jpg'
});