An open API service indexing awesome lists of open source software.

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>

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