GetColorConverter(PdfColorSpace, PdfDefaultColorSpaces?) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Returns the converter from source to RGB with the relative colorimetric intent.

public PdfColorConverter GetColorConverter(PdfColorSpace source, PdfDefaultColorSpaces? defaults)

Parameters

source
PdfColorSpace

The colour space.

defaults
PdfDefaultColorSpaces

The default colour spaces in effect where the colour is painted; null for none.

Returns

PdfColorConverter
The converter, shared by every caller asking for the same source and defaults.

Remarks

ISO 32000-2 §8.6, §10.3 and §10.4; see PdfColorConverter.