Bear Giles wrote:

I'm reading blank PDF documents with PdfStamper, populating the form fields, and passing the resulting PDF documents to various parties.

Fine so far... but now they want to replace a graphic with hand-drawn annotations (on the physical paper) with uploaded photographs. I can put images into a new document so that's not a problem, but we need to put the image into an externally generated document.

Is there a clean way to do this? I want to avoid having to tell somebody that they have to give me absolute image positions for an overlay.

You already have fields in your original PDF, so the best way to solve this
problem would be to add some extra fields (for instance some button fields)
as placeholders for the images. Once you have these placeholders, it's easy.
You can find a code sample on how to put the images inside these placeholders here: http://thread.gmane.org/gmane.comp.java.lib.itext.general/20860/focus=20873
br,
Bruno


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to