https://github.com/fantasywind/jquery.canvas.image.resizer
jQuery Plugins for Resize Image with <canvas>
https://github.com/fantasywind/jquery.canvas.image.resizer
Last synced: 9 months ago
JSON representation
jQuery Plugins for Resize Image with <canvas>
- Host: GitHub
- URL: https://github.com/fantasywind/jquery.canvas.image.resizer
- Owner: fantasywind
- License: mit
- Created: 2013-11-07T20:17:42.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-11T22:22:06.000Z (over 12 years ago)
- Last Synced: 2025-02-05T04:09:50.231Z (over 1 year ago)
- Language: CoffeeScript
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jquery.canvas.image.resizer
===========================
jQuery Plugins for Resize Image with <canvas>
## Options
* width: Maxinum width by pixels
* height: Maxinum height by pixels
* success: function of success, first parameter is resized image object
## Example
```
// Replace with resized image.
$("#uploader").canvasResizer({
width: 800,
height: 600,
success: function (image) {
$(this).replaceWith(image);
}
});
```
## Improvement
* Check for Canvas Support