Op 5/05/2011 21:57, ptownsen schreef:
> I have discovered the source of the error in my code. I call the method:
>
> image.setTransparency(new int[] {50,255});
>
> in my code. This is probably unnecessary since I later call
> image.setFillOpacity(0.3f)) which, I think, does the same thing. Anyway,
> when I remove the setTransperancy() call, the resulting stamped pdf is fine.
For the sake of completeness, setTransparency() is not the same as
setFillOpacity().
With setTransparency(), you make specific pixels in an Image transparent.
Which pixels? That depends on the type of image (see p342 about color
key masking).
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
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