LICCProfile::SetCMMType

#include "ltwrappr.h"

L_INT LICCProfile::SetCMMType(nCMMType);

L_IccInt32Number nCMMType;

/* CMM type value */

Sets the Color Management Module (CMM) type of the ICC profile.

Parameter

Description

nCMMType

Integer value that represents the CMM type to set.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function sets the preferred Color Management Module (CMM) type. If this field is used, it must match a CMM type signature registered in the ICC registry. The registration authority for these data is the ICC Technical Secretary. For contact information, refer to the ICC web site (www.color.org).

The CMM type is one of the values contained within the "header" information in the ICCPROFILEEXT structure. Calling LICCProfile::InitHeader will reset the CMM type and the other header information to the default values.

Required DLLs and Libraries

LTCLR

LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LICCProfile::Initialize, LICCProfile::Free, LICCProfile::Save, LICCProfile::Load, LICCProfile::Fill, LICCProfile::InitHeader, LICCProfile::SetDeviceClass, LICCProfile::SetColorSpace, LICCProfile::SetConnectionSpace, LICCProfile::SetPrimaryPlatform, LICCProfile::SetFlags, LICCProfile::SetDevManufacturer, LICCProfile::SetDevModel, LICCProfile::SetDeviceAttributes, LICCProfile::SetRenderingIntent, LICCProfile::SetCreator, LICCProfile::SetDateTime, LICCProfile::Convert2bFixed2bNumberToDouble, LICCProfile::ConvertDoubleTo2bFixed2bNumber, LICCProfile::SetTagData, LICCProfile::GetTagData, LICCProfile::CreateTagData, LICCProfile::DeleteTag, LICCProfile::GenerateFile, LICCProfile::GeneratePointer, LICCProfile::GetTagTypeSig, LICCProfile::FreeTagType, Class Members

Topics:

Using ICC Profile Functions

 

ICC Profile Functions: Creating an ICC Profile

Example

For an example, refer to LICCProfile::InitHeader.