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

[Feature]: update simpleBlur function #10254

Open
4 tasks done
poi-mashiro opened this issue Nov 5, 2024 · 2 comments
Open
4 tasks done

[Feature]: update simpleBlur function #10254

poi-mashiro opened this issue Nov 5, 2024 · 2 comments

Comments

@poi-mashiro
Copy link

CheckList

  • I agree to follow this project's Code of Conduct
  • I have read and followed the Contributing Guide
  • I have searched and referenced existing issues, feature requests and discussions
  • I am filing a FEATURE request.

Description

the result of simpleBlur is not as same as webgl

fabric version 5.x and 6.x

simpleBlur filters
image

webgl filters
image

origin image
image

Current State

simpleBlur result
image

webgl result
image

Additional Context

No response

@asturur
Copy link
Member

asturur commented Nov 6, 2024

Simpleblur is trying to use drawImage + offset + opacity to reproduce a blur effect.
You can implment a full blur in software but will be a bit slow. It was done for speed reasons, i m not sure why you get those artifacts. is the image you are using semi transparent?

@poi-mashiro
Copy link
Author

origin image is image/png

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

No branches or pull requests

2 participants