Retrieve alphaData From Image In Variable?

Wilhelm Sanke sanke at hrz.uni-kassel.de
Wed Jul 11 06:55:30 EDT 2007


On Wed Jul 11, 2007, Scott Rossi scott at tactilemedia.com wrote:

> Sure.  If you have an image on a card, you can script
>
>    put the alphaData of img myCoolImg into tData
>
> But can you do this with a snapshot image that has been exported to a
> variable (ie export snapshot to coolVar as PNG)?
>
> Let me know if this isn't clear.


It is not difficult to test this.

Whether by putting  a snapshot into a variable or by using "put image x 
into myvariable" what you get is the "text" of the image without the 
possibility to retrieve maskdata or alphadata from the variable.

Regards,

Wilhelm Sanke
<http://www.sanke.org/MetaMedia>





More information about the use-livecode mailing list