imageData and 6.1.1 and bug ?

Alejandro Tejada capellan2000 at gmail.com
Sat Sep 28 17:47:01 EDT 2013


Hi Ludovic,


Ludovic Thébault wrote
> [snip]
> the same imageData returned with LiveCode 6.1.1 is :
> ˇøˇˇˇ???ˇ™ˇˇˇ™ˇˇˇ
> ### with the chartonum function :
> 255 191 255 255 255 0 0 0 255 170 255 255 255 170 255 255 255
> so my script doesn't work… some null char aren't null anymore ?
> a transparent pixel (it's a png picture) have '0 111 169 69' value with
> chartonum()
> What happen ? It's a bug ? Or it's a new comportment and i need to modify
> my script ?

Looks like the alphadata values are inverted...
So, 255 is transparent and 0 (zero) is opaque.

I do not understand why.

Al



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/imageData-and-6-1-1-and-bug-tp4670414p4670420.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the Use-livecode mailing list