byte[]与Image Image与 byte[] 之间的转换
摘要:
/// <summary>/// 将byte[]转换为Image/// </summary>/// <param name="bytes">字节数组</param>/// <returns>Image</returns>public Image ReadImage(byte[] bytes){MemoryStream ms=new MemoryStream(bytes,0,bytes.Length);BinaryFormatter bf = new BinaryFormatter();object ob 阅读全文
posted @ 2012-08-29 17:34 ewyb 阅读(504) 评论(0) 推荐(0) 编辑