Dave
Dave

Reputation: 3458

How to blur image edges using javascript

Is there a Javascript solution that allows blurring edges of images. I can't use a mask as I need a pixelated kind of blur. Please see the image below.

image

Upvotes: 2

Views: 967

Answers (2)

Nhu Trinh
Nhu Trinh

Reputation: 13986

Or you can use edge library http://www.netzgesta.de/edge/

Upvotes: 0

Interrobang
Interrobang

Reputation: 17454

Pixastic has a blur function available:

http://www.pixastic.com/lib/docs/actions/blur/

You could replicate your edge-blur by cloning the image on top of itself, cropping the front one and blurring the back one.

Upvotes: 1

Related Questions