Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect the dimension of JPG
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00696132
Message ID:
00696134
Vues:
28
How about:
loImg = CREATEOBJECT('image')
loImg.Picture = < my jpg path >
? loImg.Height
? loImg.width
Cheers,

Andrew

>I use GetPict() or GetFile([JPG]) to get the photo path and load it at
>a text field, but I need to find out the real dimension(not assign length and width on Foxhwnd.ocx object!) How to maintain the photo ratio is small show?
>
>Thank you.


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform