Amitkumar Baid wrote: > Hello, > Using itext library, I need to add a pdf document as a watermark to an > already existing pdf doc. > (Just like we add image/text watermark to pdf docs). i.e kind of mixing > two pdf docs into one just like what 'pdftk' does. > http://www.pdfhacks.com/pdftk/
You refer to the pdfhacks site, and then you ask a question that is answered on that very same site: http://www.pdfhacks.com/watermark/ In case you didn't know: pdftk IS iText (but compiled with GCJ). Note that this is explained in the book "PDF Hacks" as well as in the book "iText in Action". > Essentially, i have a template which is in PDF and i need to impose that > pdf template to other pdf docs. > > I tried - > - converting the available pdf template to an image and then watermark > this image to the other pdf docs but the print quality,size is not at all > good. Of course not! That's a very bad idea. > Can there be a provision to take in a Pdf document as an input to the > PdfContentByte.add() method or any other approach? You really should read the documentation that is available on the web. -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
