Hi Jaccque, in my case the result of a jpg and png screenshot is the same. On Mac I always have to add 30 to the charToNum(char x of tImageData) to get the same result as on Windows. I hope this really is a "constant" and not depending of any system or monitor settings, what could hit me on different customer machines.
Tiemo > -----Ursprüngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag > von J. Landman Gay > Gesendet: Freitag, 12. September 2014 20:05 > An: How to use LiveCode > Betreff: Re: AW: Is RGB on Mac something else as RGB on windows? > > On 9/12/2014, 11:32 AM, Tiemo Hollmann TB wrote: > > The more I am testing, the > > more I get confused what happens with the RGB on Mac. > > Does the problem exist if the images are jpg instead of png? Can you change > your images to jpg? I've seen the problem with png images, and since I didn't > need to match exact RGB, I only needed a visual match, changing the > screengamma on a Mac was enough to fix it. I did this: > > on setScreenGamma > if the platform = "macOS" then > set the screengamma to 1.7 > else > set the screengamma to 2.23 > end if > end setScreenGamma > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > 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