From: | |
Date: | 15 Feb 2001 at 12:28:13 |
Subject: | Re: imagepool.library & Transparency |
Hello David,
>>> [...] When my class draws the image using BltBitMapRastPort()
>>> color 0 is not transparent. So what do I have to do to the bitmap
>>> to make color 0 transparent???
>> You need to use BltMaskBitMapRastPort() instead (together with the
>> mask obtained from imagepool.library).
> Thanks for the advice Allan. Unfortunatley no matter what image I
> tried the IP_Image->MaskPlane was always null. any ideas???
You need a picture.datatype V43+ for it to work. And proper decoders as
well (some ILBM and PNG decoders are broken).
Kind regards Allan
------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/982237803/
---------------------------------------------------------------------_->