Creates an ICCBased colour space from an ICC profile, or returns the one this document already has for the same profile.
public PdfIccBasedColorSpace CreateIccBasedColorSpace(ReadOnlySpan<byte> profile)
The profile's bytes: an input, display, output or colour space profile of a gray, RGB, CMYK or Lab data colour space, version 2 to 4.
[/ICCBased stream], the stream holding the profile with N its number of components; array and stream are indirect objects.ISO 32000-2 §8.6.5.5, Tables 66 and 67 (PDF 1.3). No Alternate is written: a reader uses the device space with the same
number of components. The stream is written unfiltered; a save compresses it. Records PDF 1.3. A mutation.