PDF Export with SVG Image

PDF Export with SVG Image

Noman_RaoNoman_Rao Posts: 1Questions: 1Answers: 0

**https://live.datatables.net/qepuquwa/1/edit**

When I attempt to export the table containing SVG images to a PDF, the SVG images appear blank. This issue occurs consistently whenever I use the "Export to PDF" functionality.

Answers

  • allanallan Posts: 63,441Questions: 1Answers: 10,459 Site admin

    I'm not too suprised. The pdfmake library that we use for PDF export needs a base64 string for the images. You'd need to use the customize callback for the button and manipulate the document, getting a base64 reperesentation of the SVG as an image for each that you want to export.

    I suspect there will be a reasonable amount of work in getting that working.

    Allan

Sign In or Register to comment.