Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize JPG files
Message
De
03/08/2005 13:39:32
 
 
À
03/08/2005 13:35:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
01038217
Message ID:
01038220
Vues:
21
>Is there a way to load a JPG image file into FoxPro and then have it saved as a new size? For example, A 400x400 jpg needs to be saved as another file at 200x200. Any ideas?

Check File #18584.

This is what I am using. Once loaded in memory, simply do something like:
   img.Load(lcFile2)
   img.Thumbnail(160, 120)
   img.SaveAsJPEG(lcDir+tcDir+'\Thumbnail\'+lcJustFile,95)
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform