Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using .PNG files instead of .BMP
Message
De
18/02/2017 14:22:19
 
 
À
16/02/2017 10:49:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Application:
Desktop
Divers
Thread ID:
01648025
Message ID:
01648126
Vues:
129
J'aime (1)
Hi Luis
by experience the BMP images are the best ones for using on vfp form.(natively used )
you can convert any picture and add transparency and save as BMP format (pixelformat.format24bpprgb).
for this you need the gdiplusX library (download the stable version on VFPX-version 20).
this link describe this and give code for that purpose.

http://weblogs.foxite.com/vfpimaging/2008/12/15/convert-your-buttons-to-bmps-keeping-transparency-with-gdiplusx-revisited/

you can easily put all your pictures in one folder and transform the code to iterate all images and convert them by a clic to transparent BMPs usable as well on vfp forms.
even you have problems with some PNGs, these can converted as transparent BMPs.
also if you have a set of beautiful PNGs,can convert to transparent BMPs as well.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform