addimage jspdf
var img = new Image()
img.src = 'assets/sample.png'
pdf.addImage(img, 'png', 10, 78, 12, 15)
GutoTrosla
var img = new Image()
img.src = 'assets/sample.png'
pdf.addImage(img, 'png', 10, 78, 12, 15)
var doc = new jsPDF();
doc.text(10, 10, 'Hello world!');
doc.addImage(myImage, 'JPEG', 10, 30, 150, 76);
doc.save('a4.pdf');