I have a canvas on which is some text and an SVG image. I am now trying to use getImageData to copy the contents to another canvas. However, I am getting a DOM Security Exception 18 error when calling the getImageData command. I know that this error is normally thrown when the image does not reside on the same domain as the HTML, but both of them DO reside on the same domain. In fact, if I change the SVG image to a gif or png, they both work without issue.
So, why won't the SVG image work and how can I get around this?