Transparency confusion

Dar Scott dsc at swcp.com
Mon Dec 29 02:50:08 EST 2003


On Sunday, December 28, 2003, at 05:42 PM, Ken Norris wrote:

> Hmmm. I guess I did a doubletake here. Can I do that by creating an 
> 8-bit
> black image by hand in picture editor of the space I want opaque, then
> setting the maskData of the image I want using it?
>
> If it will work, then how do I do it, i.e., define the maskData of my
> finished image to the blackout area I create?

My guess is to get the imageData and then create a maskData based on 
that and set the maskData.

Alternately, you can get the alphaData and make the maskData based on 
that.  For all I know you can set the maskData to the alphaData and do 
it on one statement, but I haven't looked at that.

Dar



More information about the use-livecode mailing list