How to know the width & height of an uploaded image in ASP.NET
ఇమేజ్ యొక్క పొడవు వెడల్పు in ASP.NET
Import the namespace using System.IO;
System.Drawing.Image UploadedImage = System.Drawing.Image.FromStream(Image1.PostedFile.InputStream);
Here Image1 is the name of uploaded image.
Creates an Image from the specified data stream.
To know more visit: http://msdn.microsoft.com/en-us/library/system.drawing.image.fromstream.aspx
Now you can get width and height of image using