Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I create *.msk files
Message
De
18/07/2001 06:23:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
18/07/2001 05:52:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00531893
Message ID:
00531897
Vues:
204
>Hi @ all
>
>How can I create *.msk files from my *.bmp files?
>
>Thx
>Dustin

Dustin,
This is from help file as is :

"Using Picture Masks
Often, a .bmp picture contains white space you don't want to appear on your controls. A white border around an irregularly shaped image could make your control look bad. To avoid this problem, Visual FoxPro creates a temporary default mask for your picture. White areas are given a transparent attribute so that the underlying color of the button or background shows through. To keep certain white areas of your .bmp white, create a mask for it that will override the default.

To create a mask for a .bmp

Open the .bmp file in Paint or another bitmap utility.
Blacken all areas of the picture that you want to be displayed exactly as they are in the .bmp file. Leave the areas you want to be transparent as white.
Save the file in the same directory and with the same name as the .bmp file but with an .msk extension."

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform