C# .net 获得图片尺寸
作者:朱尚 / 日期:2014-11-17 / 分类:Asp.Net / 浏览:1277
System.Drawing.Image imgPhoto = System.Drawing.Image.FromFile("D:/20130806160802.jpg");
int sourceWidth = imgPhoto.Width;
int sourceHeight = imgPhoto.Height;
Response.Write(sourceWidth);
上一篇:SortedDictionary 遍历
下一篇:关掉网站,暂停网站 好办法
本文标签: 获取图片高度宽度
本文链接:http://www.banzhuan.net/detail/229