importinf pictures (transparent background)
hi all!
this is the nature of the problem i am facing:
i imported a flash media on to a form. i need to put a picture over the flash media. the picture i created had a transparent background. but when i import it into form, it assumes the background of the form. i would want the image to keep the background transparent. how do i do that?
am i following the right approach? would it be better if i created the media with the graphics libraries in C#?
please help...fast...
Re: importinf pictures (transparent background)
Here is one method:
Image m_FilledImage =Image.FromFile(@"c:\mybitmap.bmp");
Color colTrans = m_FilledImage.GetPixel(1, 1); // get the pixel u want to make it transparent
m_FilledImage.MakeTransparent(colTrans);