1.0.5 • Published 8 years ago

imageq v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

imageq

Compares images by temporarily loading images on canvas elements and doing a size and byte to byte comparison. For use in browser environments.

Prerequisites

Promise availability. If your browser doesn't support it, you need a polyfill, such as es6-promise.

Install

npm install --save imageq

Usage

import imageq from 'imageq';

const images = [
  '/path/to/images/1.png',
  '/path/to/images/2.png',
  '/path/to/images/3.png'
];

imageq(images).then(identical => {
  if (identical) {
    // ...
  }
});

License

MIT

1.0.5

8 years ago

1.0.4

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.2.2

8 years ago

0.2.0

8 years ago

0.1.5

8 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago