The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

clumsyhamster (2) [Avatar] Offline
I have 2 PDFs. 1 pdf is the template and the other is the output file. Images are dynamically created. When I create the output file I need a way of inserting the images.

1. I create a PdfReader to read the template file.
2. I then create a PdfStamper to specify the new file to create
3. I create an AcroFields to put the correct information into the right form fields.

This all works. Just can't figure out how to add an image using the above.

thanks ^_^
clumsyhamster (2) [Avatar] Offline
Re: Insert image into existing PDF or at time of creation?
figured it out. Here is the code I used: