Bitmap pic = new Bitmap(图片文件名);int width = pic.Size.Width; // 图片的宽度int height = pic.Size.Height; // 图片的高度