Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is better BMP or JPG?
Message
De
22/03/2009 23:01:29
 
 
À
22/03/2009 22:55:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01390071
Message ID:
01390489
Vues:
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

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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform