Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interface question ...

Status
Not open for further replies.

ShyFox

Programmer
Joined
Mar 22, 2003
Messages
210
Location
ES
As you all know (because you used it for sure) a picture suports a mask in FoxPro. For a long time ago I discovered that if your mask is the same picture that should be masked the result is a transparent picture.
Now, those colors are ... well ... kind of strange. As if I do not have a system capable to render a 32 bit depth of color. I t looks like a picture made on a high system and watched in a windows 95 with 16 colors.
Did anyoone use this kind of transparence effect?
I asked this maybe you know the solution or even the answer for this phenomen.
Regards

As I go deeper the road seems to go further. We're just simply pasangers on the road of knowledge.
 
But why you use the same picture as the mask? You only need to blacken areas you don't need to be transparent in picture.
 
The mask should, in my experience, be only Black and White.
it seems VFP uses a BitAND() type operation to apply the mask, so if you used a color mask, the results could be weird.

I don't believe VFP3,5,6 or 7 supports alpha-blending (where gray in the mask would cause transparency), VFP8 might.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top