An ICCBased colour space: colours described by an embedded ICC profile, with an alternate space for processors without one.
public sealed class PdfIccBasedColorSpace : PdfColorSpace
ISO 32000-2 §8.6.5.5, Tables 65 to 68: [/ICCBased stream], the stream holding the profile with N (1, 3 or 4),
Alternate, Range and Metadata. Only the profile header is read here (ProfileHeader); converting
through the profile is the colour-management engine's job (Phase 3). Until then the managed default converts through
Alternate, or through the Lab equations when the profile's data colour space is Lab.
Repairs: when the header and N disagree, a valid header wins; a missing or unusable N is taken from the header, else
from the alternate, else 1. An alternate that is missing, of another component count, or not a device, CalGray, CalRGB or Lab
space gives way to DeviceGray, DeviceRGB or DeviceCMYK by component count. A Range that
is not 2 × N numbers reads as its default.
kind:method, kind:property, kind:ctor. Press Esc to clear.AlternateGets the space used in place of the profile: the Alternate entry when usable, else the device space with as many components.ComponentCountGets the number of components of a colour value in this space; 0 for a Pattern space without an underlying space.DeclaredComponentCountGets the stream's N entry, or null when it is missing or not an integer.FamilyGets the colour space family.MetadataGets the profile stream's Metadata stream, or null.ProfileHeaderGets the profile's header, or null when the stream does not decode to an ICC profile.RangeGets the ranges of the components, 2 × N numbers; [0 1] each, or the Lab ranges of Table 68 for a Lab profile, when missing or invalid.StreamGets the profile stream.CreateSrgbProfileData()Returns the bytes of Broadside's own sRGB profile: IEC 61966-2-1 as an ICC version 4.4 display profile, generated in-house, so no third-party profile ships. To embed as an ICCBased space (CreateIccBasedColorSpace(ReadOnlySpan<Byte>)) or as an output intent's destination profile; a PDF/A save uses it as its default output intent (PdfAConformance).GetProfileData()Returns the decoded profile.ReportProfileInvalid(String)Records that the profile cannot be used and colours of this space convert through Alternate: for a colour-management implementation that reads the profile's tags and finds them unusable.