Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 253 Bytes

Readme.md

File metadata and controls

20 lines (12 loc) · 253 Bytes

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