co-probe-image-size
co version of probe-image-size, fix read large image error problem
Last updated 2 years ago by jasonnowcoding .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install co-probe-image-size 
SYNC missed versions from official npm registry.

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);

License

MIT

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |