tosunilgupta / jspdf

Automatically exported from code.google.com/p/jspdf
0 stars 0 forks source link

Need Ability to Insert Images #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Initially just add support for JPEG

Original issue reported on code.google.com by theoneandonlyrio on 20 Apr 2009 at 3:04

GoogleCodeExporter commented 9 years ago

Original comment by theoneandonlyrio on 20 Apr 2009 at 3:08

GoogleCodeExporter commented 9 years ago

Original comment by theoneandonlyrio on 20 Apr 2009 at 3:09

GoogleCodeExporter commented 9 years ago
could you please explain how do you insert the images or provide a example code 
to 
understand

Original comment by flamboy...@gmail.com on 5 Aug 2009 at 1:16

GoogleCodeExporter commented 9 years ago
How can I add HTML to the generated pdf?
E.g. 

var str = '<html>Hello</html>';
var doc = new jsPDF();
doc.setText(20,20,str);

Currently this outputs to '<html>Hello</html>' as it is in the pdf.

Original comment by Sonam...@gmail.com on 4 Feb 2010 at 9:23

GoogleCodeExporter commented 9 years ago
I wonder if we can take the content of a datauri and embed that into a pdf... 
then we
could use the output from canvas tag to insert all kinds of nice things... 
charts etc... 

Original comment by todd.fis...@gmail.com on 2 Apr 2010 at 9:02

GoogleCodeExporter commented 9 years ago
Hi, any example with how insert the images in the PDF?, THXs

Original comment by trasgom...@gmail.com on 8 Apr 2010 at 9:43

GoogleCodeExporter commented 9 years ago
Any updates or workarrounds? Like to know pls.

Original comment by kevin.w3...@gmail.com on 21 Mar 2011 at 9:54

GoogleCodeExporter commented 9 years ago
Some news about this interesting library? Best Regards

Original comment by baterist...@gmail.com on 15 Jul 2011 at 4:13

GoogleCodeExporter commented 9 years ago
how i add image.

Original comment by ashok.ku...@adglobal360.info on 4 Jan 2012 at 5:13

GoogleCodeExporter commented 9 years ago
how to export pdf from canvas with PNG images

Original comment by bao.digi...@gmail.com on 6 Aug 2013 at 8:21

GoogleCodeExporter commented 9 years ago
I am not able to render a jpg image through html, it says 'jsPDF Warning: 
rendering issues? provide a callback to fromHTML! (anonymous function)' in the 
console. Please refer: 
http://stackoverflow.com/questions/29790532/image-not-rendering-on-pdf-using-jsp
df

Original comment by ashwani...@gmail.com on 23 Apr 2015 at 9:26