Post a small complete example so that we can reproduce the result. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Marco
> Sent: Thursday, November 10, 2005 10:32 AM
> To: [email protected]
> Subject: [iText-questions] Re: Re: getInstance and 
> tranparency of Image
> 
> > You'll have to explain better, I didn't understand a thing.
> Excuse for my English.
> 
> I  inserted in a pdf an Image (200x200 pixels) whith a 
> backround 0xDCFFDC 
> color and some black lines. I want see the green rectangle 
> and lines too, 
> but 0xDCFFDC color must not cover watermark.
> 
> If I use
> 
> com.lowagie.text.Image 
> i=com.lowagie.text.Image.getInstance(d.width,d.height,3,8,byte
> pixels,new 
> int[]{0xDC,0xDC,0xFF,0xFF,0xDC,0xDC});
> 
> then 0xDCFFDC is set as transparent, but become blank, not 
> green. Otherwise, 
> I see the 0xDCFFDC rectangle, but it cover the watermark.
> 
> So, 0xDCFFDC color must be transparent for all color of 
> watermark, except 
> for blank. It is possible?
> 
> Thank you
> 
> Marco
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App 
> Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to