摘要: System.Drawing.Image.FromFile()获取客户端图片的弊端下面是一个通过FromFile()获取客户端图片,并可以在保存之前改变图片大小的问题//创建位图System.Drawing.Bitmap bmp;string UploadFileName = ""; string UploadFileDestination = ""; UploadFileName = UploadFile.PostedFile.FileName; Response.ContentType="image/jpeg"; System.Drawing.Image img=System.Drawin 阅读全文
posted @ 2011-01-14 11:56 sunfny 阅读(2323) 评论(0) 推荐(0) 编辑