LEADTOOLS Color Conversion (Leadtools.ColorConversion assembly)

IccHeader Constructor (IccHeader)

Show in webframe





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

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 (http://www.color.org/) for contact information.

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.

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.

A value that indicates the color space used for the ICC profile. For a list of possible values, refer to IccColorspaceType.
A value that indicates the color space used for the Profile Connection Space. For a list of possible values, refer to IccColorspaceType.
IccDateTime structure that contains the date and time of creation of the ICC profile.
The ProfileSignature contains the fixed value of 0x61637379h.

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.

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.

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 (http://www.color.org/). If not used, this member shall be set to zero (00000000h).

A value that indicates the device model for the device for which the ICC profile was created.
Enumeration that identifies attributes unique to a particular device. For a list of possible values, refer to IccProfileMediaFlags.
A value that indicates the rendering intent. For a list of possible values, refer to IccRenderingIntentType.

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).

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 (http://www.color.org/). If not used, this member shall be set to zero (00000000h).

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).

An array of reserved bytes for the ICC organization.

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

Initializes a new IccHeader with explicit parameters.
Syntax
'Declaration
 
Public Function New( _
   ByVal Size As Integer, _
   ByVal CmmID As Integer, _
   ByVal Version As Integer, _
   ByVal DeviceClass As IccProfileClassType, _
   ByVal ColorSpace As IccColorspaceType, _
   ByVal Pcs As IccColorspaceType, _
   ByVal DateTime As IccDateTime, _
   ByVal ProfileSignature As Integer, _
   ByVal Platform As IccPlatformSignatureType, _
   ByVal Flags As IccProfileFlags, _
   ByVal Manufacturer As Integer, _
   ByVal Model As Integer, _
   ByVal Attributes As IccProfileMediaFlags, _
   ByVal RenderingIntent As IccRenderingIntentType, _
   ByVal Illuminant As IccXyzNumber, _
   ByVal Creator As Integer, _
   ByVal ProfileID() As Byte, _
   ByVal Reserved() As Byte _
)
'Usage
 
Dim Size As Integer
Dim CmmID As Integer
Dim Version As Integer
Dim DeviceClass As IccProfileClassType
Dim ColorSpace As IccColorspaceType
Dim Pcs As IccColorspaceType
Dim DateTime As IccDateTime
Dim ProfileSignature As Integer
Dim Platform As IccPlatformSignatureType
Dim Flags As IccProfileFlags
Dim Manufacturer As Integer
Dim Model As Integer
Dim Attributes As IccProfileMediaFlags
Dim RenderingIntent As IccRenderingIntentType
Dim Illuminant As IccXyzNumber
Dim Creator As Integer
Dim ProfileID() As Byte
Dim Reserved() As Byte
 
Dim instance As New IccHeader(Size, CmmID, Version, DeviceClass, ColorSpace, Pcs, DateTime, ProfileSignature, Platform, Flags, Manufacturer, Model, Attributes, RenderingIntent, Illuminant, Creator, ProfileID, 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 (http://www.color.org/) 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 (http://www.color.org/). 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 (http://www.color.org/). 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

See Also

Reference

IccHeader Structure
IccHeader Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.