Image Masks - Completely lost

Chipp Walters chipp at chipp.com
Thu Dec 29 20:14:13 EST 2005


Too bad you didn't ask,

I've got a function in one of my site downloads:
MakeAlphaFromRGB()

which does exactly that:

msg box:
go URL "http://www.altuit.com/webs/altuit2/RunRev/testComposite.rev"

Scott Rossi wrote:

> In any event, I've been working a lot lately with image/alphaData and with
> Ken Ray's help figured out a little function that can create alphaData from
> a black and white image.  This "getAlpha" function requires the long ID of a
> source image, and though it is slower than simply reading the alphaData of
> an existing transparent image (several seconds for a large image), it allows
> for the creation of masks where no transparency info is present.




More information about the use-livecode mailing list