I would like to create a pdf with dynamic content for that i am using JsPDF
and Html2Canvas
libraries.
Every thing is working fine except the script is unable to convert image tag between svg.
<div id="img1Masked">
<svg width="100%" height="100%" viewbox="0 0 1150 550" version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<image xlink:href="<?php echo base_url(); ?>addons/shared_addons/modules/fj/img/Base.png" x="0" y="0" width="100%" height="100%" />
</svg>
</div>
<div id="img2Masked">
<svg width="100%" height="100%" viewbox="0 0 1150 550" version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<image xlink:href="<?php echo base_url(); ?>addons/shared_addons/modules/fj/img/Base2.png" x="0" y="0" width="100%" height="100%" />
</svg>
</div>
.
.
.
.
Is there any solution which can be used to convert the above HTML into PDF
Thanks