Amiga-C (12/223)

From:David McMinn
Date:10 Aug 2001 at 11:43:32
Subject:[amiga-c] Re: "transparent" colors

--- In amiga-c@y..., Marcin Kielesi�ski <misterq@c...> wrote:

> "PDTA_MaskPlane (PLANEPTR) -- Pointer to a bit plane suitable for
> use with BltMaskBitMapRastPort(), or NULL if the picture has no
> transparent colours."
>
> My question is: what is a "transparent" colour?

It depends on the image format I guess. ILBM's usually have colour 0
as a transparent colour, so you'd get a mask which would only allow
pixels with a non-zero palette index to pass through. I think you can
set it to be any specific palette index with GIF's, so you'd get a
mask which allows any other pixel to pass through. PNG is similar I
think.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Small business owners...
Tell us what you think!
http://us.click.yahoo.com/vO1FAB/txzCAA/ySSFAA/dpFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/