//imagePath:图片路径
System.Drawing.dll
Image image = Image.FromFile(imagePath);
int width = image.Width;
int height = image.Height;
//imagePath:图片路径
System.Drawing.dll
Image image = Image.FromFile(imagePath);
int width = image.Width;
int height = image.Height;