neafriem
24-03-2005, 10:45 AM
I use the following code to draw an image:
Image1.Transparent := True;
Bufferbox.Canvas.Draw(0, 0, Image1.Picture.Bitmap);
The background color, that will became invisible, is purple.
My question is this: Think if you have a torch then you want the flames have like 50% opacity so you can see through them. But when I paint the torch and it's flames with a yellow color with the 50% opacity the image looks fine until I run the program because then the torch will have purple flames!
I hope I have explained this propely, if not askwhat the hell I meen! :P
Image1.Transparent := True;
Bufferbox.Canvas.Draw(0, 0, Image1.Picture.Bitmap);
The background color, that will became invisible, is purple.
My question is this: Think if you have a torch then you want the flames have like 50% opacity so you can see through them. But when I paint the torch and it's flames with a yellow color with the 50% opacity the image looks fine until I run the program because then the torch will have purple flames!
I hope I have explained this propely, if not askwhat the hell I meen! :P