摘要: public Image ReadImage(byte[] bytes){MemoryStream ms=new MemoryStream(bytes,0,bytes.Length);BinaryFormatter bf = new BinaryFormatter();object obj=bf.Deserialize(ms); ms.Close(); return (Image)obj;}/// /// 将Image转换为byte[]/// /// Image/// byte[]public byte[] ConvertImage(Image image){MemoryStream ms.. 阅读全文
posted @ 2013-10-06 09:13 万德源 阅读(387) 评论(0) 推荐(0) 编辑