本文介绍了图像高度和宽度(英寸)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨,,

如何在英寸中找到图像的高度和宽度?我试过了



Hi,,
How to find the image height and width in Inches? I tried

objImgDimensions.Width = (objImage.Width / objImage.HorizontalResolution);
objImgDimensions.Height = (objImage.Height / objImage.VerticalResolution);





但是,我知道,.net应用程序中显示的DPI是96,有些应用程序如插图画家,它大约是72或类似的。



无论使用何种显示设备和应用程序,如何以英寸为单位获得准确/标准的图像高度和宽度..



任何建议都表示赞赏。





谢谢。



but,I came to know that, the DPI shown in .net application is 96 and some apps like illustrator, it is around 72 or like that.

How can I get the accurate/standard height and width of image in inches irrespective of display device and application used..

any suggestion is appreciated.


thank you.

推荐答案


这篇关于图像高度和宽度(英寸)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 17:12