node package manager
Stop wasting time. Easily manage code sharing in 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