标签: c# .net gdi+
Image WhiteBackGroundImage=Image.FromFile("path");//fetching white back ground image. Bitmap pic=new Bitmap(WhiteBackGroundImage);//creating bitmap pictureBoxImage.DrawToBitmap(pic,pictureBoxImage.ClientRectangle); pic.Save("path", ImageFormat.Png);