What is the Color Space of the Display Native Values on Digital Color Meter

417 views Asked by At

Does anyone know what is the Color Space of the Display Native Values on Digital Color Meter and how to get this color space as a NSColorSpace or a CGColorSpace object. Thanks. DCM

2

There are 2 answers

1
Ken Thomases On

I assume that that's NSColorSpace.deviceRGBColorSpace a.k.a. NSDeviceRGBColorSpace a.k.a. CGColorSpaceCreateDeviceRGB().

In other words, I think those are the actual values in the hardware framebuffer (modulo float vs. integer representation).

0
Chris Zielinski On

The "Display native values" color space is simply the active display profile.


"Color LCD" highlighted in Digital Color Meter app user interface


selected display profile in System Preferences


Now how do we go about getting a hold it? We have two options:

  1. NSScreen.colorSpace
  2. CGDisplayCopyColorSpace — also see CGMainDisplayID()