111,119
社区成员
发帖
与我相关
我的任务
分享
MemoryStream imgStream = new MemoryStream();
pic.Save(imgStream, System.Drawing.Imaging.ImageFormat.Bmp);//pic为bitmap类型的对象
byte[] imageb ={ };
imageb = imgStream.ToArray();