Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving image DPI

Status
Not open for further replies.

VBRookie

Programmer
May 29, 2001
331
US

Hi

How do i retrieve the dpi of an image when i upload it?

- VB Rookie
 
The Image class has HorizontalResolution and VerticalResolution properties that I assume you can use to work it out?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 

yes I've seen those ... but work it out how? Is there some sort of mathematical calc that should be run on those numbers? I've been googling but don't have a clear answer on how I get the actual dpi from those values.
 
I'm not sure either - I assumed that the resolution would have some correlation to the DPI but I could be mistaken.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top