Menu

Skip to content
  • simple talk
  • software road

#0hkn05kc1d

svg

October 21, 2016 by dicksonkho on software road

Convert SVG Into Data URI

svg-datauri

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 🙂

 
 
Subscribe!
Casper WP by Lacy Morrow