downsize.js
Downsize images using canvas
About
A JavaScript library by Kamran Asif.
See the project homepage.
Installation
Using Bower:
bower install downsize.js
Or grab the source (minified).
Usage
Basic usage is as follows:
var downsize = new Downsize({
src : 'images/image.png',
steps : 2,
size: 0.5
});
For advanced usage, see the documentation.
Documentation
Start with docs/MAIN.md.
Contributing
We'll check out your contribution if you:
- Provide a comprehensive suite of tests for your fork.
- Have a clear and documented rationale for your changes.
- Package these up in a pull request.
We'll do our best to help you out with any contribution issues you may have.
License
MIT. See LICENSE.txt in this directory.