dimensions
Get the width and height of any image on the Internet. Supports BMP, GIF, JPEG, PNG, PSD.
Install it
npm install dimensions --save
Use it
Give dimensions an image URL, get back an object with the image's width and height in pixels.
var dimensions =
The above yields:
height: 297 width: 275
See tests/index.js for more usage examples.