Question about masks

Klaus Major klaus.major at metascape.org
Fri Jul 19 04:04:02 EDT 2002


Hi Dave (the brave :-),

> One more question.. What is the easiest was to create and use a mask 
> for an
> image? Can you import in a format which has a built in mask, or do you 
> need
> to use the "import with mask" command with two seperate files? If this 
> is
> the case, is there a format which can be used for the 1-bit mask, as 
> opposed
> to trying to create the bitmat manually? Thank you very much for any 
> help.
>
> Dave

you can use images with build-in masks (alpha-channels) in these formats:

GIF, which can have a 1-bit transparency (which doesn't look too good in 
most cases,
but can be animated !)  and

PNG, which can have a 8-bit transparency (smeitransparency), which is 
wonderful,
if you need something like real dropshadows etc...

Hope that helps.


Have a nice weekend.

Regards

Klaus Major
klaus.major at metascape.org




More information about the Use-livecode mailing list