node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

png-size-component

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