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);
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Threaded View
|
Click Here to Expand Forum to Full Width |