I am working on converting svg
to png
. For this conversion I am using canvg
. This conversion is working fine with google chrome but IE 10 gives the following error message.
Unhandled exception at line 137, column 5 in http://localhost:21683/Js/canvg.js
0x800a139e - JavaScript runtime error: SyntaxError
I tried the following codes
How to make it to run on IE 10?
Could anyone please help me to do this?
I found this improvement (http://code.google.com/p/canvg/issues/detail?id=189) and works fine on IE10. But I'm searching a solution for Internet Explorer under 10.
If I add the following lines at the beginning of the 'svg.parseXml' function my code now works.