/// <summary>
/// 将字数组节转为图片
/// </summary>
/// <param name=" b">字节数组</param>
/// <returns>返回图片</returns>
public static System.Drawing.Image GetImage(byte[] b)
HttpHelper http = new HttpHelper();
HttpItem item = new HttpItem()
{
URL = "http://www.sufeinet.com/template/veikei_dz_life_20130810_plus/images/logo.png?2014-06-06",//URL 必需项
Method = "get",//URL 可选项 默认为Get
ResultType = ResultType.Byte
};
HttpResult result = http.GetHtml(item);
Image img = HttpHelper.GetImage(result.ResultByte);
欢迎光临 苏飞论坛 (http://www.sufeinet.com/) | Powered by Discuz! X3.4 |