Enum RenderingIntent
- Namespace
- LMKit.Graphics.Primitives
- Assembly
- LM-Kit.NET.dll
How an ICC colour transform maps colours the destination cannot reproduce (the ICC rendering intents, numbered as the specification numbers them).
public enum RenderingIntent
Fields
Perceptual = 0Compresses the whole gamut so relationships between colours are kept; the usual choice for photographs going to print. The default.
RelativeColorimetric = 1Keeps in-gamut colours exact (white mapped to the destination's white) and clips the rest to the nearest reproducible colour; the choice for proofs and graphics.
Saturation = 2Favours vivid colours over accuracy; business graphics.
AbsoluteColorimetric = 3Like RelativeColorimetric but without adapting the white point: the source's paper white is reproduced as a colour.
Examples
var options = new ImageBuffer.ImageEncoderOptions
{
ColorTarget = ImageColorTarget.Cmyk,
RenderingIntent = RenderingIntent.RelativeColorimetric,
};
byte[] press = image.Encode(ImageOutputFormat.Tiff, options);