all-image
Simple image utility toolbelt for node .

Install
npm install all-image
Usage
var all = require('all-image')
API
getImageHeight('path/to/image.jpg', function(height) {})
gets height of an image
getImageWidth('path/to/image.jpg', function(width) {})
gets width of an image
getImageExt('path/to/image.jpg', function(extension) {})
gets file extension of image
checkForImage('image-url', function(boolean) {})
returns boolean for whether URL is an image or not
getDataUri('path/to/image.jpg', function(dataUri) {})
returns base64 encoding of an image
checkDiff('path/to/image1.jpg', 'path/to/image2.jpg', function(boolean) {})
returns boolean for whether 2 images are similar or not