Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I create *.msk files
Message
From
18/07/2001 10:41:12
 
 
To
18/07/2001 06:23:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00531893
Message ID:
00532000
Views:
35
Hi,

One other thing worth mentioning is that it's a good idea to make the image monochrome (Ie 2 colours) before saving it..

This makes all the colours black and all the whites white.. and flood fill is usually quite easy to do from this point

I have a feeling Dustin may have been after an automatic process but I don't know of any.

Will

>>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
Will Jones
Previous
Reply
Map
View

Click here to load this message in the networking platform