Documentation: Edge Detection
Description
An edge detection filter. This action performs a simple edge detection on the image. You can also choose to have the image converted to greyscale and/or inverted.
Demo
Example usage
var img = new Image();
img.onload = function() {
Pixastic.process(img, "edges", {mono:true,invert:false});
}
document.body.appendChild(img);
img.src = "myimage.jpg";
Parameters
View source: edges.js
Browser support
