bitmap类型转换byte[]
bitmap类型转换byte[]bitmap类型转换byte[]bitmap类型转换byte[]bitmap类型转换byte[]
------解决方案--------------------IO.MemoryStream imgStream = new IO.MemoryStream();
myBitmap.Save(imgStream,Drawing.Imaging.ImageFormat.Jpeg);
byte[] bytes={};
bytes=imgStream.ToArray();