mesfine21 / jspdf

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

How to paste an image in pdf if its size is more than page size? #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have a html page. I want to paste this html(web) page into pdf using jspdf. 
So I converted the entire html page into image data and pasted into pdf using 
addimage() function. But now my problem is whenever the html page height is 
more than pdf page size, the image is shrinking according to the width and 
height I have given in the addimage function. But I want to the image to be 
sliced and to be pasted in two pages.

Original issue reported on code.google.com by sharmi....@gmail.com on 11 Apr 2014 at 7:21