Hi Ludovic,

The results do look a bit strange via 6.1.1.

Could you please file a report on this issue with RunRev Quality Control and we will happily investigate it further.

Kind Regards,

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--
On 28/09/2013 19:42, Ludovic Thébault wrote:
Hello,

I've a stack created with Livecode 5.
In this stack, i've a script to replace colors in a png image :

     get the imageData of image "carte"

## in this picture i've several zones, each with one specific color ex : "234,255,255", 
"191,255,255",…. and i replace for example the color "191,255,255" with an other color 
with the numtochar function.

the imageData returned with Livecode 5.5.5 is : ### ? = null character
?øˇˇ?????™ˇˇ?™ˇˇ?
### with the chartonum function :
0 191 255 255 0 0 0 0 0 170 255 255 0 170 255 255
The script work very well.

an transparent pixel (it's a png picture) have '0 0 0 0' value with chartonum()

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 ?

an 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 ?

Thanks !
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to