Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I save an image with GDIPlusX
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01301519
Message ID:
01301764
Vues:
15
Cesar,
I have what I hope is a simple question. I am using the imgCanvas class. I want to resize an image using your examples in 'Resizing images with GdiPlus X' on Foxite.com. If I run the sample code it works great. I think all I need is to find the proper way to get the var: loSrcImage set in
loSrcImage = .Bitmap.New(GETPICT())
from the imgCanvas object.
* Variables to store the new Image size
LOCAL lnWidth, lnHeight
STORE 300 TO lnWidth, lnHeight

* Load the original Image
LOCAL loSrcImage as xfcBitmap
loSrcImage = .Bitmap.New(GETPICT())
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform