Title: Re: New Image Features
Scott Rossi wrote:
>
> Has anyone built a stack (or written out) how to take advantage of this
> stuff yet?
>
>   The imageData, maskData, and alphaData properties can be used to set
>   the pixels that an image object displays.  The imageData is a
>   sequence of 32 bit binary values, with 8 bits each for red, green,
>   and blue.  The maskData is sequence of 8 bit values, which 0 being
>   transparent and all other values being opaque.  The alphaData
>   property is a sequence of 8 bit values with variable transparency
>   from 0 (totally transparent) to 255 (totally opaque).

and Jacqueline Landman Gay:
>I'd like to know too. I have an image that I would like to show at >50%
>transparency sometimes and fully opaque other times. How would I do
>that? Since 2.4 can manipulate images this way, a less cryptic
>"transparency" property would be a handy thing to have.

Try this:

Create a scrollbar, starvalue=0 endvalue=100, and set its script to:

Set the blendlevel of image 1 to the thumbposition of me

It works fine here, the transparency

Reply via email to