Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is better BMP or JPG?
Message
From
22/03/2009 22:55:46
 
 
To
20/03/2009 21:36:11
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01390071
Message ID:
01390488
Views:
89
Cesar, Whay is in "System.app" that lets you do this?
DO LOCFILE("System.App")

WITH _SCREEN.System.Drawing
   * Create a Bitmap object based on a BMP file.
   LOCAL loOriginalBmp AS xfcBitmap
   loOriginalBmp = .Bitmap.New(GETPICT())
   LOCAL loMonoChrBmp as xfcBitmap
   loMonoChrBmp = loOriginalBmp.GetMonochrome()
   * Save the created Monochromatic Bmp
   loMonoChrBmp.Save("c:\Monochromatic.bmp", .Imaging.ImageFormat.Bmp)
ENDWITH
RETURN
Thanks,

Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform