RE: lines to vectors, vectors to GIF, [was RE: Back to

"[email protected] [svg-developers]" <[email protected]> 10 Nov 2014 13:09:30 -0800
Newsgroups gmane.text.xml.svg.devel
Message-ID <[email protected]>
Hello,
 If you search a way of drawing a svg document  in a canvas element, you can do it like this :
 1) You encode the svg as a data URL to view it into a HTML Image then drawing this image into a canvas.
 This is the way I am using in my draw-svg web site (http://draw-svg.appspot.com/drawsvg.html http://draw-svg.appspot.com/drawsvg.html)  and its svg to png converter tool (http://draw-svg.appspot.com/drawsvg.html#svgPNG: http://draw-svg.appspot.com/drawsvg.html#svgPNG:) .
 There is a security restriction if svg image elements refer to resource outside the server domain. I solve it with a proxy.
 2) Before this, I was using the canvg library (https://code.google.com/p/canvg/ https://code.google.com/p/canvg/), with my proxy. But markers are not well drawn with it.
 

 Best regards,
 Excuse my broken English, I'm French!

 Joseph