Jsreport does not render svg images correctly in pdf.
-
Image src attribute is a s3 link.I tried uploading all the required image assets to jsreport project assets folder.It renders text but does not correctly show all the image objects in the svg.
-
chrome has sometimes problems with svg images...
Could you share a playground workspace demonstrating the problem?
-
Expected Image.(ignore the canvas,but this is how the objects should look like)
Jsreport Image Rendered:
-
Please put the svg image and show the problem here
https://playground.jsreport.net/
-
-
If you can use the actual svg code instead of using it in img tag that might help you out.
I've used html code of svg in one of my projects and it worked!!
-
Actually I am converting the image to base 64 before rendering in the pdf,otherwise it does not render the image at all and shows alternate text.