标签:
string file = "D:\\QQ截图20141205121451.png"; //new一个Image实例,并读取图片 System.Drawing.Image insusImage = System.Drawing.Image.FromFile(file); //实例就可以取得宽度与高度了。 Response.Write(insusImage.Width.ToString()+" "+insusImage.Height.ToString()); return;
标签:
原文地址:http://www.cnblogs.com/lyl6796910/p/4343748.html