TryConvertFromConnectionSpace(ReadOnlySpan, Span, RenderingIntent) Method

Definition

Assembly Broadside.Rendering.dll

Converts one colour in the profile connection space to the profile's device colour, through its BToA tags.

public bool TryConvertFromConnectionSpace(ReadOnlySpan<float> connection, Span<float> device, RenderingIntent intent = RenderingIntent.RelativeColorimetric)

Parameters

device
Span<Single>

Receives ComponentCount components, each 0 to 1.

intent
RenderingIntent

The rendering intent, which chooses the tag (ICC.1:2022 §8.10.2, Table 25).

Returns

Boolean
Whether the profile has a usable BToA tag; matrix/TRC profiles are not inverted (Annex F.1).

Remarks

ICC.1:2022 §10.10, §10.11 and §10.13; ICC-absolute PCS values for AbsoluteColorimetric (§6.3.2.2).