Tainted Canvas, due to CORS and SVG?
问题 Iknow this has been asked often before, but after 3days trying to fix this i clearly need help. I've had a problem for a while now. I been trying to do something like this (This is a simplified code): var media = Array(); $(document).ready(function(){ img = new Image(); img.crossOrigin = "*"; img.src = "http://domain.com/pics/picture.svg"; img.width = 200; img.height = 300; img.onload = function(){ media['test'] = img; ///var layer = img; $.jCanvas({ fromCenter: false }); $("#collider")