Op 17/03/2011 16:34, Jason Berk schreef: > If I add the same image to a document twice, each time with a different > absolute position, does that count as two different images? The size of > my PDF is increasing significantly when adding my company logo to a > second location. If you reuse the same Image object, the bytes of the Image are added only once. If you create two different Image objects for the same image file, the bytes of the image file are added to the document twice.
------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
