Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

jpeg-size

tjholowaychuk989MIT0.0.1

Read JPEG image dimensions from a File or Blob

readme

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