png-size

Read PNG dimensions from a File or Blob

npm install png-size
3 downloads in the last day
28 downloads in the last week
116 downloads in the last month

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

npm loves you