Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Borders of my image get white color #18

Open
miranos opened this issue Dec 12, 2016 · 7 comments
Open

Borders of my image get white color #18

miranos opened this issue Dec 12, 2016 · 7 comments

Comments

@miranos
Copy link

miranos commented Dec 12, 2016

Hi
When i use stackblur from my pc all work well and have nice blur since only text of image get blured.
But when use it from my phone, the canvas have many white color and border of image's background too.

Any fix please or trick to avoid this?

@flozz
Copy link
Owner

flozz commented Dec 12, 2016

Hello,

Have you some example that trigger the bug?

@miranos
Copy link
Author

miranos commented Dec 12, 2016

Here the code on jsfiddle

https://jsfiddle.net/f5xzrx08/

Here my result when i blur an image that have blue background and text on it:
http://i.imgur.com/lhmGSIl.png

But when i blur it from my pc there no white effect in the border of background.

@flozz
Copy link
Owner

flozz commented Dec 14, 2016

I am not able to reproduce neither on my PC or my phone. It is maybe specific to some js engine or browser...

What is your phone model? your OS / OS version? your browser / browser version?

@miranos
Copy link
Author

miranos commented Dec 15, 2016

I am testing it on Samsung Tab 3, chrome latest version.

Is there a way to change the white blur to my background color to prevent this ?

Or any solution ?

@bneill2
Copy link

bneill2 commented Feb 13, 2018

+1 for this issue, only seen on images that have transparency.

@flozz
Copy link
Owner

flozz commented Feb 14, 2018

Hi,

@bneill2 are you able to reproduce the issue on the @miranos example? if not, have you an other example that trigger this issue?

@zhangxinxu
Copy link

@flozz here is the demo, https://www.zhangxinxu.com/study/202109/blur.html
the white and black border appeared when canvas have transparency。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants