MonobjcMonobjc Documented Class Library
NSColorRenderingIntent Enumeration
NamespacesMonobjc.AppKitNSColorRenderingIntent

These constants specify how Cocoa should handle colors that are not located within the destination color space of a graphics context. These constants are used by the methods setColorRenderingIntent: and colorRenderingIntent.

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSColorRenderingIntent
Public Enumeration NSColorRenderingIntent
public enum class NSColorRenderingIntent
Members
MemberDescription
NSColorRenderingIntentDefault

Use the default rendering intent for the graphics context.

Available in Mac OS X v10.5 and later.


NSColorRenderingIntentAbsoluteColorimetric

Map colors outside of the gamut of the output device to the closest possible match inside the gamut of the output device.

This operation can produce a clipping effect, where two different color values in the gamut of the graphics context are mapped to the same color value in the output device’s gamut. Unlike the relative colorimetric, absolute colorimetric does not modify colors inside the gamut of the output device.

Available in Mac OS X v10.5 and later.


NSColorRenderingIntentRelativeColorimetric

Map colors outside of the gamut of the output device to the closest possible match inside the gamut of the output device.

This operation can produce a clipping effect, where two different color values in the gamut of the graphics context are mapped to the same color value in the output device’s gamut. The relative colorimetric shifts all colors (including those within the gamut) to account for the difference between the white point of the graphics context and the white point of the output device.

Available in Mac OS X v10.5 and later.


NSColorRenderingIntentPerceptual

Preserve the visual relationship between colors by compressing the gamut of the graphics context to fit inside the gamut of the output device.

Perceptual intent is good for photographs and other complex, detailed images.

Available in Mac OS X v10.5 and later.


NSColorRenderingIntentSaturation

Preserve the relative saturation value of the colors when converting into the gamut of the output device.

The result is an image with bright, saturated colors. Saturation intent is good for reproducing images with low detail, such as presentation charts and graphs.

Available in Mac OS X v10.5 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)