Home
Level Extreme platform
Subscription
Corporate profile
Products & Services
Login
FRANÇAIS
Home
FRANÇAIS
Level Extreme platform
Login
Best practices
Testimonials
Downloads
Articles
Subscription
Subscribe or renew
Benefits
Donate 5$
Donate 10$
Donate 15$
Donate 20$
Donate 25$
Corporate profile
Overview
Portfolio
Products & Services
Consulting services
Enterprise hosting
Web Site Hosting
Graphic design
Book publishing
Support
Troubleshooting
Problem with logins
Contact us
Legal
Copyright
Privacy policy
Terms & Conditions
Français
On-the-fly image scaling and format transformation?
Message
From
28/12/2006 14:30:59
Francois Lepoutre
Paris
,
France
To
28/12/2006 09:25:30
Sergey Berezniker
New York
,
United States
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Re:
On-the-fly image scaling and format transformation?
Miscellaneous
Thread ID:
01180673
Message ID:
01180728
Views:
12
Thanks to you Russuel and Sergey:)
>VFPX now on Codeplex at
http://www.codeplex.com/Wiki/View.aspx?ProjectName=VFPX
Downloading was a snap. I could use the sample by Cesar Chalom to fit my needs.
http://weblogs.foxite.com/cesarchalom/archive/2006/09/18/2491.aspx
The possibilies seam endless. Howeve I did not find simple pointers on how to resize the the object (width and height).
Any clue?
_SCREEN.AddProperty("System", NEWOBJECT("xfcSystem", LOCFILE("system.vcx","vcx")))
WITH _SCREEN.System.Drawing
* Load Image to GDI+
LOCAL loBmp AS xfcBitmap
loBmp = .Bitmap.New(GETPICT())
* Change BitmapResolution
loBmp.SetResolution(200,200)
* Save the Bitmap as Bmp or Icon
*!* loBmp.Save("c:\NewResolution.bmp", .Imaging.ImageFormat.Bmp)
loBmp.Save("c:\NewResolution.ico", .Imaging.ImageFormat.Icon)
ENDWITH
RETURN
Previous
Next
Reply
Map
View the map of this thread
View the map of this thread starting from this message only
View
View all messages of this thread
View all messages of this thread starting from this message only
Click here to load this message in the networking platform
Level Extreme platform
Best practices
Testimonials
Downloads
Articles
Subscription
Subscribe or renew
Benefits
Donate 5$
Donate 10$
Donate 15$
Donate 20$
Donate 25$
Corporate profile
Overview
Portfolio
Products & Services
Consulting services
Enterprise hosting
Web Site Hosting
Graphic design
Book publishing
Support
Troubleshooting
Problem with logins
Contact us
Legal
Copyright
Privacy policy
Terms & Conditions
Login
Google
Copyright © 1993-2024 by Level Extreme Inc. All rights reserved · Website by
levelextreme.com