Documentation: Mosaic
Description
This action applies a mosaic effect on the image, creating a pixelated look.
Demo
Example usage
var img = new Image();
img.onload = function() {
Pixastic.process(img, "mosaic", {blockSize:10});
}
document.body.appendChild(img);
img.src = "myimage.jpg";
Parameters
View source: mosaic.js
Browser support
