Quoting "Tiesters, Timothy [PRDBE Extern]" <[EMAIL PROTECTED]>:
> Hi > > Is there any possibility to attach an image to a pdf, and show this > image in a pdf, without the image being stored a second time in the > pdf? Oops, I didn't read your question well enough. You want the Image to be added as a file attachment as AND as an Image XObject and have it refer to the same PDF stream object? Then you'd have to refer to the same stream from both the File Specification Dictionary and the Image XObject dictionary. However: most of the streams for images in PDF are transformed into an Image format that is suited for viewing in PDF. Whereas you probably want an attachment to keep its initial format (for instance PNG). That makes your requirement impossible (and it explains why you didn't find anything about it in any book); except if you understand the PDF Reference chapter about images. -- This answer is provided by 1T3XT BVBA. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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