0

I'm applying filters to Konva.Image but couldn't find any way to remove those filters and return to original image.

How can I do that?

she hates me
  • 1,212
  • 5
  • 25
  • 44

1 Answers1

2

To disable filters you can just clear cache:

image.clearCache();

// also you can do this if you want to remove filters
image.filters([]);
lavrton
  • 18,973
  • 4
  • 30
  • 63