Include SVG image in PDF reports - NodeJS
Posted: Mon Apr 27, 2020 7:30 am
Hello!
I am trying to include SVG images in a PDF report using the NodeJS libraries (i have the feb 2020 library). The PDF report is rendered without any issues , but the image is not included - that part of the page is just empty. I tried the same with png/jpg/gif images and did not encounter any issue.
If I generate the PDF file from the Angular designer (using the same .mrt), the SVG file is shown successfully, which would point that svgs are supported in the Reports.JS , I just see this issue in NodeJS.
Can you please confirm that svg files are indeed supported in the NodeJS library, and if there is anything special I should do (any PDF export settings?) to have them included in my PDF reports.
Thank you !
I am trying to include SVG images in a PDF report using the NodeJS libraries (i have the feb 2020 library). The PDF report is rendered without any issues , but the image is not included - that part of the page is just empty. I tried the same with png/jpg/gif images and did not encounter any issue.
If I generate the PDF file from the Angular designer (using the same .mrt), the SVG file is shown successfully, which would point that svgs are supported in the Reports.JS , I just see this issue in NodeJS.
Can you please confirm that svg files are indeed supported in the NodeJS library, and if there is anything special I should do (any PDF export settings?) to have them included in my PDF reports.
Thank you !