Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27228

VS 2008 resolution (dpi) info

$
0
0
I'm trying to retrive resolution info from a jpg file. I was able to obtain width and height info but could not find code to access resolution (dpi) info.

' size info
Dim img = Image.FromFile(path)
MsgBox(img.Size.Width)
MsgBox(img.Size.Height)

Do you know the code to change the resolution and size? Shrinking a file from 300dpi to 72dpi.

Viewing all articles
Browse latest Browse all 27228

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>