ImageData problem, the results were different on Mac and Windows

Kenji Kojima index at kenjikojima.com
Thu Nov 7 13:33:50 EST 2013


Hi,

Are Image data of MacOS and Windows different?
I made a small test stack. The PNG image size was 4 x 3 pixels. 
LiveCode 5.5.5 

The result of MacOS 10.9
—————————————————————
0, 161, 40, 65
0, 54, 209, 214
0, 193, 227, 35
0, 171, 44, 47
0, 5, 175, 214
0, 109, 208, 240
0, 14, 181, 60
0, 171, 106, 135
0, 244, 164, 106
0, 244, 238, 170
0, 52, 82, 9
0, 86, 147, 228
—————————————————————

The result of Windows 8.1
—————————————————————
0, 179, 61, 89
0, 77, 219, 223
0, 206, 233, 55
0, 187, 66, 69
0, 12, 191, 223
0, 132, 218, 243
0, 27, 196, 83
0, 187, 129, 156
0, 246, 181, 129
0, 246, 242, 186
0, 75, 106, 19
0, 110, 167, 234
—————————————————————

Are the results correct or a bug? or my script was wrong.

The test stack is 
http://kenjikojima.com/livecode/download/imageDataTest.zip

Thanks,
--
Kenji Kojima / 小島健治
http://www.kenjikojima.com/




More information about the Use-livecode mailing list