Adding a dynamic image to a PDF using ColdFusion and iText

前端 未结 2 1416
一向
一向 2020-12-11 19:57

I pieced together some code to insert a dynamic image into a PDF using both ColdFusion and iText, while filling in some form fields as well. After I got it working and blogg

2条回答
  •  囚心锁ツ
    2020-12-11 20:57

    I have made it in another way with itext library I don´t want overwrite my existing pdf with the image to insert, so just modify the original pdf inserting the image, just insert with itext doesn´t work for me.

    So, I have to insert the image into a blank pdf (http://itextpdf.com/examples/iia.php?id=59) And then join my original pdf and the new pdf-image. Obtaining one pdf with several pages. (http://itextpdf.com/examples/iia.php?id=110)

    After that you can overlay the pdf pages with this cool concept http://itextpdf.com/examples/iia.php?id=113

提交回复
热议问题