Documentation: Blur

Description

This action applies a 3x3 blur kernel on the image, softening it a bit. For a faster and more powerful blur effect, see the Blur Fast action.

Demo


Example usage

var img = new Image();
img.onload = function() {
	Pixastic.process(img, "blur");
}
document.body.appendChild(img);
img.src = "myimage.jpg";

Parameters

  • fixMargin (bool)
    If true, the image marginLeft/Top will be adjusted to compensate for IE making the image slightly larger. Defaults to true.

View source: blur.js

Browser support