get-pixel-promise
v1.0.3
Published
A promise wrapper on the get-pixels npm module
Downloads
3
Maintainers
Readme
get-pixel-promise
A tiny library providing a wrapper around the popular get-pixel module
Installation
npm install get-pixel-promise --save
Usage
var getPixelPromise = require('get-pixel-promise')
var imageFile = 'path/to/file.jpg|png|gif';
var promise = getPixelPromise('/resources/fox.jpg');
var imageShape = promise.then((image) => image.shape);
Tests
npm test
Release History
- 1.0.0 Initial release
- 1.0.2 Updated package.json and README.md
- 1.0.3 Added keywords