Skip to content

this api don't have "filter"? #2106

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

Closed
LmanTW opened this issue Aug 31, 2022 · 1 comment
Closed

this api don't have "filter"? #2106

LmanTW opened this issue Aug 31, 2022 · 1 comment

Comments

@LmanTW
Copy link

LmanTW commented Aug 31, 2022

Issue or Feature

I'm using this API to make a simple game engine, but I can't seem to use the filter. I just saw a few reports. It seems that this API does not support the filter relationship. Will this function be added to node-canva in the future? ?

Steps to Reproduce

ctx.filter = 'blur(5px)'
ctx.drawImage(image)

Your Environment

node-canvas: 2.9.3
node: v16.13.2
macOS: 10.15.7

@zbjornson
Copy link
Collaborator

Unfortunately we don't have that implemented, see #1063. It's not trivial to implement with cairo.

@zbjornson zbjornson closed this as not planned Won't fix, can't repro, duplicate, stale Sep 2, 2022
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

2 participants