The problem that we have is exactly what is described in te article you
pointed me (as matter of fact, I've just also bought online iText in
Action, first edition, as waiting 6 months for the second edition won't
work for me right now). So: we are having duplicate company logos on the header of several pages, and they are ALWAYS inserted as new images. So now I rephrase the problem: how do I traverse the PDF document structure, to find out the duplicate images and replace them with references to the single copy I should have within the document? Atentamente,
Gonzalo Vásquez Sáez Gerente de Proyectos Altiuz | Neox Desarrollo Nueva Tajamar 555 Of. 802 Las Condes - Santiago Fonos 56 (2) 335 2461 / 203 6200
1T3XT info escribió: Gonzalo Vásquez Sáez wrote:I guess you could be right, the problem is that I'm getting extra huge PDF files out of iTextIt's easy to create huge files with iText if you don't know what you're doing. Go to http://www.manning.com/affiliate/idevaffiliate.php?id=223_212 and open chapter 2 (that's a free chapter). Go to page 43 and read the section about "Adding the same image more than once to the same document". If that's your problem, you should redesign your application. You should take away the cause of your problem; you shouldn't try to fix something you've done wrong in the first place. |
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/