Why is the imagedata value different from Win32 to MacOS

Scott Rossi scott at tactilemedia.com
Wed Jul 26 12:48:52 EDT 2006


Recently, Ken Ray wrote:

>> Yep, I believe Ian is correct in his assumption about gamma and
>> imageData. Interestingly, I checked both PNG and JPG and found, as you
>> did, the imageData different from one platform to the next.
> 
> I was just checking my old "understanding imagedata" tip, and found that
> prior to the MC 2.4.3 engine, the byte order was *reversed* on Windows
> (BGRO) vs Mac (ORGB). This was fixed after 2.4.3, but is it possible that
> with all the new image features and modularizing the code, that this has
> come back? 

I just tried the colorizing demo stack I recently posted in both 2.7.2 and
2.7.3 and it works using the 0RGB byte order, so no change.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com





More information about the use-livecode mailing list