Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is better BMP or JPG?
Message
From
22/03/2009 23:01:29
 
 
To
22/03/2009 22:55:46
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01390071
Message ID:
01390489
Views:
87
>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

System.App is the main file of the GdiPlusX library.
This library of classes contains lots of functions and classes that help you to manipulate images.
The function GetMonochrome is just one of these functions.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform