var bmp2 = new Bitmap(bmp1.Width, bmp1.Height, PixelFormat.Format24bppRgb); using (var g = Graphics.FromImage(bmp2)) g.DrawImage(bmp1, 0, 0, bmp2.Width, bmp2.Height); bmp2.Save(..., ImageFormat.Bmp);
110,536
社区成员
642,578
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧