blurify icon indicating copy to clipboard operation
blurify copied to clipboard

Canvas Method of Blur isn't working correctly

Open abnersajr opened this issue 7 years ago • 5 comments

Your method to generate blured image with canvas is small but not correct. If you get other libs that already exist to do that you will see that is not correctly. Lastly if you get an image rendered with canvas method and compare with filter method you will see.

abnersajr avatar Mar 15 '17 20:03 abnersajr

Do you mean with the same blur value, the images rendered with canvas method and css filter are different?

dabanlee avatar Mar 16 '17 02:03 dabanlee

Here are the example images, you can see the differences.

Canvas canvas

CSS css

abnersajr avatar Mar 16 '17 12:03 abnersajr

oh, I got it.

It seems that I have no idea of how to improve it. Can you help me improve the canvas blur algorithm?

dabanlee avatar Mar 16 '17 14:03 dabanlee

For sure on my free time I help with this. 👍

abnersajr avatar Mar 16 '17 14:03 abnersajr

@abnersajr Thanks a lot. 😁

dabanlee avatar Mar 16 '17 14:03 dabanlee