> -----Original Message-----
> From: B J [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, October 16, 2003 15:40
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Printing of PDF documnt is slow if
> PdfPatternPrinter is used.
>
> Hi,
>
> We are using the iText API to generate PDF output. In order to set a
> wallpaper for a document we are using the PdfPatternPainter class (please
> see the method usePattern() in the attached java file PatternText.java).
> The resultant document, takes a very long time to get printed. However if
> we implement the wallpaper by
>
The culprit is whatever is used to print the PDF. iText has
no saying on that.
> rendering the image multiple times, the time for printing is much
> lesser (though the file size is much larger) (please see the paint()
> method in PatternText.java)
>
>
The file size is larger because you have n images and not
only one as if the pdf was generated directly. I'll probably had a parameter
to reuse the image.
Best Regards,
Paulo Soares
>
> The attached sample application generates two PDF document where one
> replicates the image while another uses Pattern.
>
> Can you provide information whether this behaviour is expected on
> adding wallpaper using the PdfPatternPainter and if there are any other
> iText API which might provide a solution/workaround.
>
>
> Regards,
> Bharat
>
>
> _____
>
> Do you Yahoo!?
> The New Yahoo! Shopping
> <http://shopping.yahoo.com/?__yltc=s%3A150000443%2Cd%3A22708228%2Cslk%3Ate
> xt%2Csec%3Amail> - with improved product search << File: PatternTest.java
> >> << File: web.gif >>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions