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

use Convolute bug #4203

Closed
unsilence opened this issue Aug 15, 2017 · 4 comments · Fixed by #4207
Closed

use Convolute bug #4203

unsilence opened this issue Aug 15, 2017 · 4 comments · Fixed by #4207

Comments

@unsilence
Copy link

use fabric.Image.filters.Convolute will receive error
let filter = new fabric.Image.filters.Convolute({ matrix: [0, -1, 0, -1, 0.5, -1, 0, -1, 0] });
var obj = canvas.getActiveObject();
obj.filters[0] = filter;
obj.applyFilters();
canvas.renderAll();

@asturur
Copy link
Member

asturur commented Aug 15, 2017

What is the error? can you create a fiddle please?

@unsilence
Copy link
Author

error
@asturur

@unsilence
Copy link
Author

But what puzzles me is that the example given by the official can run. Is it my fault?

@asturur
Copy link
Member

asturur commented Aug 16, 2017

no is broken also there.

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

Successfully merging a pull request may close this issue.

2 participants