Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (17 sloc) 0.501 kb

Usage

node server.js

then open http://localhost:3000/?u=http://www.google.com/images/srpr/logo3w.png&w=300&h=100 in browser

Request params:

  • u - url of image
  • w - width (positive integer)
  • h - heigth (positive integer)
  • gravity - gravity param for imagemagick (optional)

Tests

npm test

Test coverage report available in ./coverage/index.html

Documentation

make doc

Available online: jsdoc.info

License

BSD

Jump to Line
Something went wrong with that request. Please try again.