Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the width and height of a JPG File
Message
De
14/09/2000 04:16:29
 
 
À
13/09/2000 14:00:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00415959
Message ID:
00416262
Vues:
15
You can use my image compression and conversion library in the files section, the following code should do the trick.
LOCAL lcPixWidth
LOCAL lcPixHeight

set library to vfpimage.fll ADDITIVE

if IMGLoad(“c:\adoplus.bmp”) > 0
   lcPixWidth  = alltrim(str(IMGWidth()))
   lcPixHeight = alltrim(str(IMGHeight()))

   ? “Image Dimensions: “ + lcPixWidth + “ x “ + lcPixHeight + “ pixels”
endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform