How to force jQuery SVG to embeded images instead of linking them?

How to force jQuery SVG to embeded images instead of linking them?

I have a need to render SVG to PNG for this I am trying to use canvg javascript. This script works fine but it does not work on linked images.

So how can we force jQuery SVG to embed images instead of linking them?

TIA

Yogi Yang