Table of Contents

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 = 0

Compresses the whole gamut so relationships between colours are kept; the usual choice for photographs going to print. The default.

RelativeColorimetric = 1

Keeps 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 = 2

Favours vivid colours over accuracy; business graphics.

AbsoluteColorimetric = 3

Like 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);
Share