0.0.1 • Published 10 years ago
carapace-crop v0.0.1
carapace-crop
Crop for Carapace.
Usage
var Carapace = require('carapace')
var Crop = require('carapace-crop')
Carapace
.create(imageEl)
.run([
Crop.create({ width: 100, height: 100, left: 100, top: 100 })
], function(err, canvas){
canvas // [object HTMLCanvasElement 100x100]
})
Installation
$ npm install carapace-crop
Tests
$ grunt test
$ grunt test:server
$ grunt test:browser
License
MIT License, see LICENSE for details.
0.0.1
10 years ago