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 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 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
Bharat
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
PatternTest.java
Description: PatternTest.java
<<inline: web.gif>>