You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
StackBlur does not work properly when there is an alpha channel in the image. #44
I do not think it is simple to fix, as transparent pixels also have values on R, G and B channels... Here is what your image looks like if you remove the alpha channel:
FYI, I am not the author of this algorithm, I just made little fixes and packaged it on NPM. I am afraid I am not able to make changes like this one... :(
Activity
flozz commentedon Mar 8, 2022
StackBlur is not very good with alpha channels :(
flexeo commentedon Mar 8, 2022
Do you think it's complicated to make a fix?
flozz commentedon Mar 8, 2022
I do not think it is simple to fix, as transparent pixels also have values on R, G and B channels... Here is what your image looks like if you remove the alpha channel:
FYI, I am not the author of this algorithm, I just made little fixes and packaged it on NPM. I am afraid I am not able to make changes like this one... :(