Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to avoid flicker when changing pictures in image con
Message
De
13/07/2010 22:53:06
 
 
À
13/07/2010 06:10:37
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01472113
Message ID:
01472447
Vues:
83
> I did not know that you can also make BMPs transparent by painting those areas as white.
>
>You can also set background transparency using a monochrome .msk file included in your project with the same filename and in the same folder as the bmp. This allows you to retain opacity for some or all of the white in your bmp. It's not well covered in VFP Help, but there's quite good info if you google "vfp msk".


Hi John

Using a MSK will work but the current easier way is to make the background RGB(255,255,255) to make it transparent and to make the "WHITE" parts of your image that you want to remain white as RGB(254,254,254) which is indistinguishable from white to the human eye, but not to VFP.

Cesar has created a program that, using GDI+X will do this automatically for all your images so you don't need a .MSK file in addition.

http://weblogs.foxite.com/vfpimaging/archive/2008/12/15/7441.aspx

BErnard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform