node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

jpeg-size

jpeg-size

Read JPEG image dimensions from a File or Blob

Installation

$ component install component/jpeg-size

Example

var size = require('jpeg-size');
var s = size(buf);
// => { width: 200, height: 400 } 

License

MIT