Hi Jaqueline,

> 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).

don't know anything about that.

But there was a post some time ago with a tiny script,
that generated a picture. Quite impressive, but i
didn't get a word ;-)

> 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 the new "blendlevel" property of an image
(at last we can abbr. that with img :-):
(Just replace transparency with blendlevel ;-)

Setting it to 0 = opaque, to 100 = 100% transparent.

Works extremely fine :-)

Regards

Klaus Major <[EMAIL PROTECTED]>
MetaScape GmbH



P.S. Nothing to translate?

:-) :-) :-)


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to