摘要: C# code/// /// 图像转换为Byte数组/// private byte[] imageToByteArray(Image imageIn){MemoryStream ms = new MemoryStream();imageIn.Save(ms, System.Drawing.Imaging.ImageFormat.Icon);return ms.ToArray();}/// /// Byte数组转换为图像/// private Image byteArrayToImage(byte[] byteArrayIn){MemoryStream ms = new MemoryStrea 阅读全文
posted @ 2011-06-20 11:24 wangjj89621 阅读(754) 评论(1) 推荐(1) 编辑