←Select platform

IccHeader Constructor

Summary
Initializes a new IccHeader with explicit parameters.
Syntax
C#
C++/CLI
Python
public: 
IccHeader(  
   int Size, 
   int CmmID, 
   int Version, 
   IccProfileClassType DeviceClass, 
   IccColorspaceType ColorSpace, 
   IccColorspaceType Pcs, 
   IccDateTime DateTime, 
   int ProfileSignature, 
   IccPlatformSignatureType Platform, 
   IccProfileFlags Flags, 
   int Manufacturer, 
   int Model, 
   IccProfileMediaFlags Attributes, 
   IccRenderingIntentType RenderingIntent, 
   IccXyzNumber Illuminant, 
   int Creator, 
   array<byte>^ ProfileID, 
   array<byte>^ Reserved 
) 

Parameters

Size
A value that indicates the size of the ICC profile in bytes.

CmmID
A value that indicates the Color Management Module for the profile.

The CmmID value shall match a CMM type signature registered in the ICC registry. If no preferred CMM is identified, this member shall be set to zero (00000000h). The registration authority for this data is the ICC Technical Secretary. See the ICC web site (https://www.color.org/index.xalter) for contact information.

Version
A value that indicates the version of the ICC profile.

The Version shall contain the value 0x04200000h for ICC version 4.2.0.0 over which this ICC profile structure and all the methods associated with it was built.

DeviceClass
A value that indicates the device class profile of the ICC profile. For a list of possible values, refer to IccProfileClassType.

For all profile classes, other than a device link profile, the profile connection space member Pcs shall be either XyzData or LabData. When the device class is a device link profile, the value of the profile connection space shall be the appropriate color space from the list in IccColorspaceType.

ColorSpace
A value that indicates the color space used for the ICC profile. For a list of possible values, refer to IccColorspaceType.

Pcs
A value that indicates the color space used for the Profile Connection Space. For a list of possible values, refer to IccColorspaceType.

DateTime
IccDateTime structure that contains the date and time of creation of the ICC profile.

ProfileSignature
The ProfileSignature contains the fixed value of 0x61637379h.

Platform
A value that indicates the primary platform for which the ICC profile was created. For a list of possible values, refer to IccPlatformSignatureType.

If there is no primary platform identified, the Platform shall be set to NoPlatformSignature. For a list of possible values, refer to IccPlatformSignatureType.

Flags
Enumeration that indicates if the ICC profile is embedded or not, and if the ICC profile can be used independently from the embedded color data or not. For a list of possible values, refer to IccProfileFlags.

Manufacturer
A value that indicates the device manufacturer for the device for which the ICC profile was created.

The Manufacturer and Model values shall match the signature contained in the appropriate section of the ICC signature registry found at (https://www.color.org/index.xalter). If not used, this member shall be set to zero (00000000h).

Model
A value that indicates the device model for the device for which the ICC profile was created.

Attributes
Enumeration that identifies attributes unique to a particular device. For a list of possible values, refer to IccProfileMediaFlags.

RenderingIntent
A value that indicates the rendering intent. For a list of possible values, refer to IccRenderingIntentType.

Illuminant
IccXyzNumber structure that indicates the CIEXYZ values of the illuminant used for the profile connection space.

For the Illuminant member, the only illuminant permitted for the profile connection space is D50 (where X=0.9642; Y=1.0 and z=0.8249).

Creator
A value that identifies the creator of the ICC profile.

The Creator value shall match the signature contained in the device manufacturer section of the ICC signature registry found at (https://www.color.org/index.xalter). If not used, this member shall be set to zero (00000000h).

ProfileID
An array that contains a value that indicates a checksum value for the ICC profile.

The ProfileId value is generated using the MD5 fingerprinting method as defined in the Internet RFC 1321. If it has not been calculated, the value of the ProfileId shall be set to zero (00000000h).

Reserved
An array of reserved bytes for the ICC organization.

The Reserved value reserved for future ICC definition and shall be set to zero (00000000h).

Requirements

Target Platforms

Help Version 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ColorConversion Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.