img-stats
Grabs stats of the image you feed it
Last updated 10 years ago by jlembeck .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install img-stats 
SYNC missed versions from official npm registry.

img-stats

Grabs stats of the image you feed it

Getting Started

On the server

Install the module with: npm install img-stats

var img_stats = require('img-stats');
img_stats.stats( '/path/to/img.png' , function( data ){
  console.log(data.width); // 100
  console.log(data.height); // 100
  })

In the browser

Download the production version or the development version.

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Also, please don't edit files in the "dist" subdirectory as they are generated via grunt. You'll find source code in the "lib" subdirectory!

Release History

(Nothing yet)

License

Copyright (c) 2013 Jeffrey Lembeck
Licensed under the MIT license.

Current Tags

  • 0.5.2                                ...           latest (9 years ago)

11 Versions

  • 0.5.2                                ...           9 years ago
  • 0.5.1                                ...           9 years ago
  • 0.5.0                                ...           9 years ago
  • 0.4.5                                ...           10 years ago
  • 0.4.4                                ...           10 years ago
  • 0.4.3                                ...           10 years ago
  • 0.4.2                                ...           11 years ago
  • 0.4.1                                ...           11 years ago
  • 0.4.0                                ...           11 years ago
  • 0.3.0                                ...           11 years ago
  • 0.1.0                                ...           12 years ago
Maintainers (1)
Downloads
Total 9
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (3)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE