Image Mask from an external file

Aurélien Durand aureliendurand at hotmail.com
Thu Nov 20 07:21:35 EST 2003


Hello everybody,

I'm actually trying to perform something like this : i'd like to use an 
external png file as a mask for an imported image. The two images are the 
same-size. The one supposed to be used as a mask is in grayscale, but it 
could also be black & white if needed. How could i do this? Is there 
anything such as "set the mak of image "image1" to "images/images2.png" for 
exemple ? The mask is not necessary in png format, it could be in gif or 
jpeg if it's better in order to make it works, but the first image is 
neccesary in jpeg format. Should i take the binary datas of the .png file 
and then apply them to the imported image ?

Can you help me?

Thanx

Aurélien Durand

_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous !  
http://search.msn.fr/



More information about the use-livecode mailing list