Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I save an image with GDIPlusX
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01301519
Message ID:
01301764
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform