[ANN]: More about masks (+ sample stack)

James Hurley jhurley0305 at sbcglobal.net
Sat Nov 29 20:07:48 EST 2008


>
> Message: 7
> Date: Sat, 29 Nov 2008 10:11:36 +0100
> From: "Wilhelm Sanke, FB01" <sanke at hrz.uni-kassel.de>
> Subject: [ANN]: More about masks (+ sample stack)
> To: use-revolution at lists.runrev.com
> Message-ID: <1227949896.4931074874c3f at www.uni-kassel.de>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Accompanying is a sample stack with a side-by-side comparison of a  
> number of
> approaches and containing most of the discussions with examples:
>
> <http://www.sanke.org/Software/MoreAboutMasks.zip>

Wilhelm,

A veritable treatise! Very impressive. It will take me a while to  
digest this.

Love the "two-liner."   Works for any shape masking image, I assume.

Jim  Hurley


>
> To run the stack you need Rev 2.9 or higher.
>
> As a starter for this overview about how to produce masked images  
> in Revolution
> here is a "two-liner":
>
> on mouseup
> crop image "to-be-masked" to the rect of image "SelectionOval"
> set the alphadata of image "to-be-masked" to the alphadata of image  
> "SelectionOval"
> end mouseup
>




More information about the use-livecode mailing list