Paulo Soares wrote: > Have a look at > http://article.gmane.org/gmane.comp.java.lib.itext.general/22648. To know > what's the image to replace use PdfContentParser to get the first "Do" > command. The operand will be a name that will point to the image in the > resource dictionary. You don't need to change the content, just the image. > > Paulo
thanks for the answer, In http://article.gmane.org/gmane.comp.java.lib.itext.general/22648 there is a new pdf created - can I also do in-place editing of the original-pdf ? I don't get this completely: to get the first "Do" command. The operand will be a name that will point to the image in the resource dictionary. Can you explain it in detail ? Cheers, jago > > ----- Original Message ----- > From: "Andreas Schmidt" <[EMAIL PROTECTED]> > To: <itext-questions@lists.sourceforge.net> > Sent: Saturday, June 03, 2006 12:55 AM > Subject: [iText-questions] Generate PDF,send it to the server and add a > Background Image on each page...isthis possible with iText ??? > > > >>Hi, >> >>>From what I read it is impossible to add more content to a PDF with iText >>once it is "created"/"closed" ? >> >>What I want to do: >> >>The user can create pdfs and sends them to a server. (i have done >>everything >>to that point). >> >>On every page of the pdf there is a background-image (in the layer given >>by >>getDirectContentUnder()). This background image has a low resolution and >>is >>supposed to be replaced by a high-resolution version of that image, which >>only resides on the server. >> >>>From what I read in the iText Api/Tutorial such a replcement/edit is not >>possible with iText - but perhaps I am missing out something hopefully ? I >>would really like to do it this way - is there perhaps another library >>that >>can do such an edit ? >> >>Cheers, >>jago >> > > > > -------------------------------------------------------------------------------- > > > > > > -------------------------------------------------------------------------------- > > > >>_______________________________________________ >>iText-questions mailing list >>iText-questions@lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/itext-questions >> _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions