Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you get height and width of an image
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Divers
Thread ID:
01443957
Message ID:
01444161
Vues:
95
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform