Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 243 Bytes

Readme.md

File metadata and controls

20 lines (12 loc) · 243 Bytes

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