Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you get height and width of an image
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01443957
Message ID:
01444161
Views:
96
ox = createobject( "image" )
ox.Picture = "C:\Documents and Settings\David\My Documents\My Pictures\001.jpg"
? ox.Height
? ox.Width
>How would you determine the height and width of an image being retrieved from the hard drive? It could be most any size and there's no way to put this in a table, so doing it programatically would be the only option. I'm wondering if FoxCharts could do it or is there some other way? Perhaps the file format has it embedded in a header section?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform