Mail Archives: djgpp/1998/03/17/06:38:12
>>I am having trouble making my images transparent in Allegro (I'm using
>>3.0). I have filled the areas that I want masked in black (0,0,0) in
>>Photoshop, but the bitmap won't show up with its transparent parts. If
>>someone can point me to some specific documentation on this subject, it
>>would be greatly appreciated.
>
>I think Allegro wants transparent areas to be bright magenta. (r255, b255,
g0)
It depends on the colour mode you use. In true colour mode this is correct,
but in 256 colour mode the transprent colour can be any colour you like,
but it has to be at index 0 of the palette,
I have never used photoshop, so I can't give specific advice here, but it
is necessary to modify the palette so that index 0 corresponds
to colour 0,0,0 (or whatever colour you want as transparency)
ciao
Giacomo
- Raw text -