Re: need some RGB bug tester

2014-09-15 Thread Terence Heaford
Also you may wish to read this which also may help: Introduction to Color Programming Topics for Cocoa https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/DrawColor/DrawColor.html#//apple_ref/doc/uid/1082i All the best Terry On 15 Sep 2014, at 19:37, Terence Heaford wr

Re: need some RGB bug tester

2014-09-15 Thread Terence Heaford
Hi, I am not well up on colour but have dabbled with NSColor in Cocoa. There are numerous methods for creating an NSColor: Creating an NSColor Object from Component Values + colorWithCalibratedHue:saturation:brightness:alpha: + colorWithCalibratedRed:green:blue:alpha: + colorWithCalibratedWhite:

Re: need some RGB bug tester

2014-09-15 Thread Matthias Rebbe | M-R-D
I tested only on Mac and can see a difference when opening the image in Safari on Mac and in LC on Mac. The image in LC is definitely a little bit darker than the one in Safari on Mac. And the loupe tool of the color select dialog on mac shows different values when selecting the color of the im

Re: need some RGB bug tester

2014-09-15 Thread J. Landman Gay
This is due to the different screen gamma settings on Mac. It affects the appearance but doesn't change the actual bitmap data. The screen gamma can be set by the. user, and the default setting on Mac is different from the default on Windows. I had thought it was the gamma setting that was ca

Re: need some RGB bug tester

2014-09-15 Thread Dave Kilroy
Hi Tiemo On Windows 7 I get 99,150,200 with LC 6.6.2 and LC 7.0.0(rc1) - and on Mavericks I get 82,130,188 with LC 6.6.3 and LC 7.0.0(rc1) - please note both tests with LC 7.0.0 used bytetonum instead of chartonum So it increasingly looks like it is OS related issue... Dave - "Some are bo

Re: need some RGB bug tester

2014-09-15 Thread Matthias Rebbe | M-R-D
Tiemo, donĀ“t know if this is of some help for you, but if i open the image in an browser and compare it to the one in the LC stack on Mac then i can see that the color of the image in LC is not the same as the color of the image in the browser. The LC one seems darker. If i use the loupe of t

Re: need some RGB bug tester

2014-09-15 Thread BNig
Hi Tiemo, tested with LC7.0RC1 on MacOSX10.6.8 and have the same RGB triplet you got on your mac: 82,130,188 I used put byteToNum(char 8442 of tImageData) & comma & byteToNum(char 8443 of tImageData) & comma & byteToNum(char 8444 of tImageData) charToNum is deprecated in 7.0 for binary data. Ki