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

Package detail

png-size

tjholowaychuk992MIT0.1.0

Read PNG dimensions from a File or Blob

readme

png-size

Read PNG dimensions from a File or Blob

Installation

$ component install component/png-size

Example

var size = require('png-size');
var s = size(buf);
// => { width: 100, height: 150 }

License

MIT