C#将图片白色背景设置为透明
Image image = System.Drawing.Image.FromFile(@"C:A.JPG");
Bitmap pbitmap = new Bitmap(image);pbitmap.MakeTransparent(Color.White);pictureBox1.Image = pbitmap;
补充:软件开发 , C# ,
Image image = System.Drawing.Image.FromFile(@"C:A.JPG");
Bitmap pbitmap = new Bitmap(image);pbitmap.MakeTransparent(Color.White);pictureBox1.Image = pbitmap;
补充:软件开发 , C# ,