gliffy / canvas2svg

Translates HTML5 Canvas draw commands to SVG
MIT License
683 stars 155 forks source link

Option to embed external xlink:href URLs as base64 encoded #56

Open hyanwong opened 6 years ago

hyanwong commented 6 years ago

If canvases use drawImage with a URL, it would be nice to have to option of embedding the images as base64 instead of linking to them. If I made a pull request with such an option, would it be likely to be accepted?

justinharrell commented 5 years ago

I also did this but approached it a little differently, uses XHR to get original image and uses defs to resuse images, helps with repeating images and svg images.