'How to display image in jsPDF from input image upload
I'm trying to work out how to upload in image using and display it in my PDF.
In the image below you can see the data that I get when passing it down to the PDF-component I've made.
Image data passed to jsPDF component
I've tried the doc.addImage(image, "png", ...) method, but I believe this is supposed to work with urls.
Any help is greatly appreciated!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
