A simple HTML5 canvas crop and zoom utility.
http://wulftone.github.io/croppy
Bare minimum usage like so:
var c = new Croppy({
container: 'element-id'
});
src
[String] The path to the image file you wish croppy to start up withscale
[Number] The initial zoom factorx
[Number] The x position of the image, center weightedy
[Number] The y position of the image, center weighted
More options TBD... customization things!
See example/index.html
for more details.
npm install
grunt browserify
grunt
grunt watch