摘自:https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/DrawColor/Concepts/AboutColorSpaces.html
The “Device” color-space names represent color spaces in which component values are applied to devices as specified. There is no optimization or adjustment for differences between devices in how they render colors. If you know exactly which device is connected to a system and you want to print or display a certain color on that device, then it makes sense to use a appropriate device-dependent color space when creating NSColor objects. However, it is usually not the case that an application knows which devices are connected and their specific color spaces. If you specify components of a color in a device-dependent color space—let’s say NSDeviceRGBColorSpace—and then have several displays render this color, you will see several slightly different colors.
To get around this problem you can use calibrated color spaces, which are designated by two of the color-space names in Table 1. A calibrated color space is a device-independent color space. The color spaces designated by NSCalibratedWhiteColorSpace andNSCalibratedRGBColorSpace color spaces are calibrated to a device that best represents devices in a particular class, such as color displays. It allows your application to present reasonably accurate colors when you are unsure about the color space of a device in a particular context.
本文探讨了设备相关颜色空间和校准颜色空间的区别。设备相关颜色空间直接应用到具体设备上,但不同设备显示的颜色可能有所不同。而校准颜色空间则允许应用程序在不确定设备颜色空间的情况下呈现相对准确的颜色。
2871

被折叠的 条评论
为什么被折叠?



