Lingua

NSColorRenderingIntent Enum

Definition

Specifies how out-of-gamut colors are mapped to the destination color space.

[ObjCRuntime.Native]
public enum NSColorRenderingIntent
[<ObjCRuntime.Native>]
type NSColorRenderingIntent = 
Inheritance
NSColorRenderingIntent
Attributes

Fields

Name Value Description
Default 0

Uses the rendering intent embedded in the source profile, or Perceptual if none is specified.

AbsoluteColorimetric 1

Preserves the exact color values that fall within both color spaces' gamuts and clips out-of-gamut colors to the nearest reproducible color.

RelativeColorimetric 2

Preserves the exact color values that fall within both color spaces' gamuts, and rescales white points to compensate for differing white points between the color spaces.

Perceptual 3

Compresses the entire source gamut into the destination gamut, preserving the overall visual relationship between colors.

Saturation 4

Preserves the relative saturation of colors, sacrificing color accuracy to maintain vivid colors.

Applies to