jspdf add png image code example
Example: jspdf attach image file
var doc = new jsPDF();
doc.text(10, 10, 'Hello world!');
doc.addImage(myImage, 'JPEG', 10, 30, 150, 76);
doc.save('a4.pdf');
var doc = new jsPDF();
doc.text(10, 10, 'Hello world!');
doc.addImage(myImage, 'JPEG', 10, 30, 150, 76);
doc.save('a4.pdf');