iText based pdf mail-merge
You can now add images to pdf. Image will be automatically scaled to the size of target form field. See example(ad2) in database. I also added some memory management to code and removed unnecessary code lines.