this is how my code look now:
System.Drawing.Image objImage = System.Drawing.Image.FromFile(Server.MapPath(\"aaa.jpg\")); int height = objImage.Height; int widt
Bitmap is a subclass of Image, so there no need to convert Bitmap to Image. It already is...
Bitmap
Image