png-size

0.1.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i png-size

      Weekly Downloads

      140

      Version

      0.1.0

      License

      MIT

      Last publish

      Collaborators

      • tjholowaychuk