System.Drawing.Image _image = System.Drawing.Image.FromStream(new System.IO.MemoryStream((byte[])ds.Tables[0].Rows[i]["pic"]));
System.Drawing.Image _newimage = _image.GetThumbnailImage(100 , 100 , null, new System.IntPtr());
_newimage.Save(System.Web.HttpContext.Current.Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg); 通过宽高(100,100)来控制输出的图片大小(我刚试过,可以的 2008年5月28日 11时10分16秒)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货