[This is preliminary documentation and subject to change.]
The PROFILEHEADER structure contains information that describes the contents of a device profile file. This header occurs at the beginning of a device profile file.
typedef struct tagPROFILEHEADER {
DWORD phSize;
DWORD phCMMType;
DWORD phVersion;
DWORD phClass;
DWORD phDataColorSpace;
DWORD phConnectionSpace;
DWORD phDateTime[3];
DWORD phSignature;
DWORD phPlatform;
DWORD phProfileFlags;
DWORD phManufacturer;
DWORD phModel;
DWORD phAttributes[2];
DWORD phRenderingIntent;
CIEXYZ phIlluminant;
DWORD phCreator;
BYTE phReserved[44];
} PROFILEHEADER;
Byte Number | Contents |
---|---|
0 | Major version number in BCD. |
1 | Minor version number in the most significant nibble of this byte. Bug fix version number in the least significant nibble. |
2 | Reserved. Must be set to 0. |
3 | Reserved. Must be set to 0. |
Profile Class | Signature |
---|---|
Input Device Profile | CLASS_SCANNER |
Display Device Profile | CLASS_MONITOR |
Output Device Profile | CLASS_PRINTER |
Device Link Profile | CLASS_LINK |
Color Space Conversion Profile | CLASS_COLORSPAC |
Abstract Profile | CLASS_ABSTRACT |
Named Color Profile | CLASS_NAMED |
Profile Class | Signature |
---|---|
XYZ | SPACE_XYZ |
Lab | SPACE_Lab |
Luv | SPACE_Luv |
YCbCr | SPACE_YCbCr |
Yxy | SPACE_Yxy |
RGB | SPACE_RGB |
Grayscale | SPACE_GRAY |
HSV | SPACE_HSV |
HLS | SPACE_HLS |
CMYK | SPACE_CMYK |
CMY | SPACE_CMY |
Profile Class | Signature |
---|---|
XYZ | SPACE_XYZ |
Lab | SPACE_Lab |
When the phClass member is set to CLASS_LINK, the PCS is taken from the phDataColorSpace member.
Platform | Value |
---|---|
Apple Computer, Inc. | 'APPL' |
Microsoft Corp. | 'MSFT' |
Silicon Graphics, Inc. | 'SGI' |
Sun Microsystems, Inc. | 'SUNW' |
Taligent | 'TGNT' |
Constant | Meaning |
---|---|
|
|
|
|
Constant | Meaning |
---|---|
|
|
|
|
INTENT_PERCEPTUAL
INTENT_SATURATION
INTENT_RELATIVE_COLORIMETRIC
INTENT_ABSOLUTE_COLORIMETRIC
For more information, see Rendering Intents.
Windows NT: Requires version 5.0 or later.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Header: Declared in icm.h.
Other Color Management Information Sources, Using Device Profiles with ICM, Rendering Intents