Android Question PDFjetB4A - Inserting JPG image

johndb

Active Member
Licensed User
Longtime User
I have been using @warwound's PDFjet library https://www.b4x.com/android/forum/threads/pdfjetb4a.37843/ with great results. I have another project which I would like to draw a jpg image on the pdf page but have not had any success. I have attached the PDFjet sample project with the addition of adding a jpg. Does anybody have an idea as to why it is not working? Thanks for your help.
 

Attachments

  • PDFjet-SimpleExample-jpg.zip
    186 KB · Views: 286

johndb

Active Member
Licensed User
Longtime User
Hello @johndb, please look at the attached files.
Problem solved. It was nothing to do with the library or code. The problem was that the jpg that i used was corrupt in some way not allowing it to be embedded.

Thanks for your help!
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…