crops

Server for dynamically resizing images on the fly

npm install crops
6 downloads in the last week
7 downloads in the last month

crops

Server for dynamically resizing images on the fly

Point at any valid file server and crops will stream the response through Graphicsmagick to the client. Crops sits well between an image file server and a CDN.

build status

install

With npm do:

npm install crops

Crops requires graphicsmagick so make sure that is installed

example

var crops = require('crops')

crops('https://npm-crops.s3.amazonaws.com/').listen(3000)
$ curl http://localhost:3000/image.jpg
$ curl http://localhost:3000/160x90/image.jpg
$ curl http://localhost:3000/400x220/image.jpg

license

MIT

npm loves you