I've just replaced the .png file with my .svg file on this demo: https://konvajs.org/docs/filters/RGBA.html But filtering doesn't work, it says: konva.min.js.download:12 Konva error: Unable to apply filter. Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
Konva.Image.fromURL('./graphic-01.svg', function (lion) {
var stage = new Konva.Stage({
container: 'container',
width: window.innerWidth,
height: window.innerHeight,
});