In iText the images are added only once but you have to reference them
in all the pages. Something like:

Image img = Image.getInstance("mypic.png");
doc.add(img);
doc.newPage(); 
doc.add(img);
doc.newPage(); 
doc.add(img);

would show the image in three pages but the image data would only be
present once.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Gerald Fehringer
> Sent: Friday, June 04, 2004 10:55 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Add image once for all pages
> 
> Hello!
> 
> Does the PDF format offer a possibility to add an image once 
> only but it is 
> still shown on all pages ? Or do we always have to add an 
> image for each and 
> every page (which of course increases the size of the 
> resulting PDF file) ?
> 
> Thanks in advance for your Info,
> Gerald.
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
> From Windows to Linux, servers to mobile, InstallShield X is the one
> installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to