png-size-component

Read PNG dimensions from a File or Blob

npm install png-size-component
8 downloads in the last month

png-size

Read PNG dimensions from a File or Blob

Installation

$ component install component/png-size

Example

var dims = require('png-size');
dims(file, function(err, w, h){

});

License

MIT

npm loves you