Image objImage = Image.FromFile(Server.MapPath("myimg.jpg")); int height = objImage.Height;//Actual image width int width = objImage.Width;//Actual image height Bitmap bitmapimage = new Bitmap(objImage, width, height);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)