pixtest

A library to compare and test images through image differential.

Usage no npm install needed!

<script type="module">
  import pixtest from 'https://cdn.skypack.dev/pixtest';
</script>

README

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'
});