ParseICCProfileHeader
Compliance, colour management
Description
Parses the ICC header of a raw profile into the TPDFICCProfileInfo record
The same record shape is returned by GetOutputIntentICCInfo for embedded output intents
Syntax
Delphi
Function ParseICCProfileHeader(Const Profile: AnsiString; Out Info: TPDFICCProfileInfo): Boolean;Parameters
| Profile | Complete ICC profile bytes; the header prefix is read |
|---|---|
| Info | Receives the decoded header fields including colour space, component count, ICC version and class |
Return values
| False | The profile is shorter than a header or the signature is not acsp |
|---|---|
| True | Info holds the decoded header fields |
See also
ICCProfileComponents, DefaultRGBProfile, TPDFICCProfileInfo, GetOutputIntentICCInfo