如何获取jpg图的属性,要图的长和宽路径都知道的!RT[解决办法]C# codeImage imageImage.FromFile(path)//
如何获取jpg图的属性,要图的长和宽
路径都知道的!RT
[解决办法]
- C# code
Image image=Image.FromFile(path);//获取图片,path为路径int width=image.Width;//获取宽int height=image.Height;//获取高
如何获取jpg图的属性,要图的长和宽
路径都知道的!RT
[解决办法]
Image image=Image.FromFile(path);//获取图片,path为路径int width=image.Width;//获取宽int height=image.Height;//获取高