Skip to content

chrisgreg/get-pixel-promise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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(imageFile);
  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

About

A tiny wrapper around the popular get-pixels npm module

Resources

Stars

Watchers

Forks

Packages

No packages published