Hi All,
I am doing development in iPhone , using latest titanium sdk 2.1.1.
I am using jspdf to generate pdf file , but the problem is I can only make pdf which include only text content , and unable to include images in PDF , Please help me to do this , or please provide me solution of how to make pdf using combination of text and images.
Thanks
3 Answers
Accepted Answer
Hi
I have a working prototype and hope to have it ready to share within 24 hours. I am having to rewrite portions of the original library to allow images to work.
I am using the latest version of the library so everything is as up to date as possible and the library does seem reasonably feature complete.
Fingers crossed
A few things here. When you have a problem with a 3rd party library, the proper way to handle issues would be to first contact the author of that library. They will more than likely be the best source to resolving your issues.
It looks like you downloaded JSPDF from a Google code repository where the latest zip was built in 2009. 2009?!?! Thats like 100 years in javascript years. I'm sure if you were to contact the author he would tell you that the Google code repo was very old, and that you could get the latest code from his GitHub Repo. Then, I'm sure he would tell you that you can see code demos on his Demo Page, on which the Image demo is in the Graphic Elements tab at the very bottom.
See this article and referred code:
Your Answer
Think you can help? Login to answer this question!