Is RGB on Mac something else as RGB on windows?

William Prothero prothero at earthednet.org
Fri Sep 12 17:41:47 EDT 2014


Tiemo:
I wonder if this has something to do with the fact that byte operations rather than charToNum operations are supported now, 
and unicode gets involved in charToNum operations.
Bill

On Sep 12, 2014, at 10:09 AM, Tiemo Hollmann TB <toolbook at kestner.de> wrote:

> Some more testing:
> The mousecolor returns the same RGB on Mac and Win. I need this for
> comparing each pixel of an imageData with this mousecolor.
> But when looping through the imageData of an image, the charToNum(char x of
> tImageData) returns a different value on Mac and Win.
> Up to now, it seems that the Mac value is always 30 less than on Win, same
> for R,G and B
> If this keeps constant on further testing, I can manipulate the values on
> Mac by this constant. But enough for today.
> Tiemo
> 
> 
> 
> 
>> -----Ursprüngliche Nachricht-----
>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
> Auftrag
>> von Tiemo Hollmann TB
>> Gesendet: Freitag, 12. September 2014 18:32
>> An: 'How to use LiveCode'
>> Betreff: AW: Is RGB on Mac something else as RGB on windows?
>> 
>> Hi Trevor,
>> 
>> hmm, might be we are experiencing the same issue. The more I am testing,
> the
>> more I get confused what happens with the RGB on Mac.
>> Because I never would have thought that there could be an issue related to
>> this between windows and Mac this issue hits me at the latest stage in my
>> development process at the finishing tests close before release. Probably
> I
>> have to suspend my whole release plan now.
>> Tiemo
>> 
>> 
>>> -----Ursprüngliche Nachricht-----
>>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
>> Auftrag
>>> von Trevor DeVore
>>> Gesendet: Freitag, 12. September 2014 16:29
>>> An: How to use LiveCode
>>> Betreff: Re: Is RGB on Mac something else as RGB on windows?
>>> 
>>> On Fri, Sep 12, 2014 at 8:29 AM, Tiemo Hollmann TB
>>> <toolbook at kestner.de>
>>> wrote:
>>> 
>>>> I have an application, where I manipulate an image. I exchange a
>>>> specified RGB color by another value. I developed this app on
>>>> windows and everything works fine. Now at final testing my function
>>>> seems to be broken, because the same image (a screenshot taken from
>>>> a video) seems to have other RGB values on a Mac, so that the
>>>> exchange doesen't work anymore on a Mac.
>>>> 
>>>> I tested to create a png with photoshop on Windows with a blue color
>>>> 100,150,200. Opening this png on my Mac and picking the color it
>>>> gives
>> me:
>>>> 83,131,185. Isn't RGB = RGB on different platforms? That the same
>>>> RGB might display different on different monitors is clear, but a
>>>> different RGB value?
>>>> 
>>> 
>>> Perhaps you are seeing the issue described in this bug report?
>>> 
>>> http://quality.runrev.com/show_bug.cgi?id=13208
>>> 
>>> It doesn't look like LiveCode on OS X handles color profiles properly
>>> when loading image files.
>>> 
>>> --
>>> Trevor DeVore
>>> ScreenSteps
>>> www.screensteps.com    -    www.clarify-it.com
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list