Why is the imagedata value different from Win32 to MacOS platforms?

Ian Wood revlist at azurevision.co.uk
Tue Jul 25 10:36:53 EDT 2006


Only thing I can think of off-hand is that it was a PNG image and the  
automatic gamma-correction of the format was kicking in.

Ian

On 25 Jul 2006, at 15:04, Joel Guillod wrote:

> For image processing I have to extract the RGB values from an  
> imagedata of an image but I got different results under MacOSX and  
> Win32.
> I found that the imagedata values is different between the two  
> platform: every color component of pixels is slighty changed. I  
> have not found in the documentation such a change depending on the  
> platform. Notice that <the text of image> is identical between both  
> platform.
>
> Could anyone give me a clue?
>
> Is there an easy other way to get the exact RGB array on both  
> platforms?
>
> Thanks!
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list