if I use the following:

com.lowagie.text.Image 
i=com.lowagie.text.Image.getInstance(d.width,d.height,3,8,bytepixels,new 
int[]{0xDC,0xDC,0xFF,0xFF,0xDC,0xDC});

I obtain an Image with Color(0xDCFFDC)) as transparence.

The result is a blank (0xFFFF), and not 0xDCFFDC color, where I have another 
images or strings (and this is right, I want this).
But in areas where I have only a blank backround, I want to see 0xDCFFDC 
color, while I obtain always blank.

How can I resolve this?

Thank you.


Marco


N.B. Why I must insert 6 bytes, while I use only 3 of them for defining a 
Color? What is the goal of this 6 bytes? 





-------------------------------------------------------
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
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to