-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Does jsPDF have a height limit? #3120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
First of all: you are using a really old version of jsPDF. It's probably a good idea to update to a more recent version. I think the issue is indeed due to browser limitations. The As a solution I suggest to update to 2.3.x and use the |
I updated jsPDF. I am using the most current version right now. But I think your guess is correct. Browsers have certain canvas limits, and I couldn't find a way to get around this. I worked really hard to write my code and I don't have time to rewrite it. So I can't use Thanks for reply. |
Alright. I'm closing this, because it's not really an issue of jsPDF. We can still use this for discussion. |
Uh oh!
There was an error while loading. Please reload this page.
I have a long html file which i want convert to pdf. I noticed that jspdf did not create the pdf file with a height of more than 65519px. I tried this as follows.
This way I was able to get the pdf file
But jsPDF did nothing as follows
Users have been told there is no limit. I thinking that this problem may be caused by the browser, I tried it from different computers and browsers. However, the same problem occurred. I would be glad if you help
Try on CodePen.io
The text was updated successfully, but these errors were encountered: