简体   繁体   中英

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.

图片

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.

或者您可以使用边缘库http://www.netzgesta.de/edge/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM