Convert SVG Into Data URI


Playground available @ Plunker.
Resource: canvg, HTMLCanvasElement

Note: If your browser does not able to launch the Plunker sample, it might due to back-ticks (`)  which I’m using for svg string concatenation, it’s ES6 feature and some browser does not support yet. Replace your properly formatted svg will do 🙂




Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.