The pdf format doesn't support ARGB, only RGB. Transparency is done:

- setting an array to mark the transparent colors (6 elements for RGB)
- creating a BW image to use as a mask
- creating a grayscale image to use as an smask to have 256 degrees of alpha

Best Regards,
Paulo Soares

----- Original Message ----- 
From: "Bill Ensley" <[EMAIL PROTECTED]>
To: "iText Mail Group" <[EMAIL PROTECTED]>
Sent: Saturday, June 05, 2004 2:52
Subject: RE: [iText-questions] Transparant Images


> Sorry to bother again, but image.setTransparency() is not working at all,
I
> see no effect on the output.
>
> Any thoughts?
>
> Thanks
> Bill Ensley
> Bear Printing
>   -----Original Message-----
>   From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Bill
Ensley
>   Sent: Friday, June 04, 2004 6:00 PM
>   To: iText Mail Group
>   Subject: RE: [iText-questions] Transparant Images
>
>
>   Never mine, I found it
>   Image.setTransparency(int[]);
>
>   Bill Ensley
>   Bear Printing
>     -----Original Message-----
>     From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Bill
Ensley
>     Sent: Friday, June 04, 2004 5:15 PM
>     To: iText Mail Group
>     Subject: [iText-questions] Transparant Images
>
>
>     My Apologies,
>     I'm sure someone has already asked this question, but I was unable to
> find it in the mail archives.
>
>     I have a dynamically generated ARGB Image that has some transparent
> areas.
>
>     When I put this image into a PDF, it loses it's transparency.
>
>     Am I missing something simple?
>
>     Thanks
>     Bill Ensley
>     Bear Printing
>



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to