title: How to add Image in jspdf?
body: <p>I have tried this code for add a image,but here Image has been not adding with pdf.</p>
  
  <pre><code>  function RunCode() {
         var imgData = 'data:pubali.jpg/jpeg;';
         var doc = new jsPDF();
         doc.setFontSize(10);
         doc.text(20, 20, 'Hello world!');
         doc.text(20, 30, 'This is client-side Javascript, pumping out a PDF.');
         doc.addImage(imgData, 'JPEG', 15, 40, 180, 160);
         doc.output('datauri');
       }
  </code></pre>
  
  <p>How can I add image with jspdf.</p>