co-probe-image-size
v1.0.2
Published
co version of probe-image-size, fix read large image error problem
Downloads
13
Readme
co-probe-image-size
Get image size without full download. Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, PSD.
Install
npm install co-probe-image-size --save
Oo, I need star: here.
Example
var probe = require('co-probe-image-size');
var dimensions = yield probe.getSize("test-image-name.jpg");
console.log(dimensions);