Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I create *.msk files
Message
From
18/07/2001 06:23:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
18/07/2001 05:52:40
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00531893
Message ID:
00531897
Views:
212
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform