Help me please ! I want to ouput transparent image but I can't ! Thanks !

Login to reply to this topic.
Sat, 2005-09-17 03:02
Joined: 2005-06-21
Forum posts: 107
Hi all !
A image (.bmp) have trees with red background.Which way can I output strees with transparent background ? help me please!
Help me please ! thanks very much !
---------------------------------------------------- doctinh113114 --------------------------------------------------------------------

Sat, 2005-09-17 06:11
Joined: 2005-07-14
Forum posts: 55
Re: Help me please ! I want to ouput transparent image but I can
Hi there!!!
get the RGB value of the pixel u want to view transparent and then generate a mask image which will be black for transparent pixel and white for other pixels. then use BitBltMasked() function of windowsgc to draw it.
Alernatevely u can also make this mask using some image editing tool.
that should solve your problem
Nits
Mon, 2006-02-27 04:28
Joined: 2005-06-21
Forum posts: 107
Re: Help me please ! I want to ouput transparent image but I can
Thanks very much!
  • Login to reply to this topic.