Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ready PNG dimensions from a Uint8Array or Buffer in node
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
example.js
index.js
package.json

Readme.md

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

Something went wrong with that request. Please try again.