I have one question about how windows read some properties of an Image. When i rightclick on an Image and in Properties window if i goto Details tab then it shows that Image has 200 dpi as Horizontal and Vertical Resolution.
But if i use VB.Net code
objBitmap=New Bitmap(Image.FromFile("C:\Image1.jpg"))
intXResolution=objBitmap.HorizontalResolution
intYResolution=objBitmap.VerticalResolution
then value of intXResolution and intYResolution is 96
How i can get correct Image resolution values in VB.Net?