LICCProfile::SetProfileId
#include "ltwrappr.h"
L_INT LICCProfile::SetProfileId(pICCProfile)
Sets the Profile ID automatically in the header of an ICC Profile structure.
Parameter |
Description |
pICCProfile |
Pointer to the ICCPROFILEEXT structure to set its Profile ID. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function sets the value of the pICCProfile.ICCHEADER.uProfileID member automatically using an auto-generated ID.
To set the Profile File ID, the ICC profile must be complete (i.e. the Profile File ID must be the last thing to be set in the ICC profile).
Required DLLs and Libraries
See Also
Functions: |
LICCProfile::InitHeader, LICCProfile::Initialize, LICCProfile::SetCMMType, LICCProfile::SetColorSpace, LICCProfile::SetConnectionSpace, LICCProfile::SetCreator, LICCProfile::SetDateTime, LICCProfile::SetDeviceAttributes, LICCProfile::SetDeviceClass, LICCProfile::SetDevManufacturer, LICCProfile::SetDevModel, LICCProfile::SetFlags, LICCProfile::SetPrimaryPlatform, LICCProfile::SetRenderingIntent, LICCProfile::Convert2bFixed2bNumberToDouble, LICCProfile::CreateTagData, LICCProfile::DeleteTag, LICCProfile::ConvertDoubleTo2bFixed2bNumber, LICCProfile::FreeTagType, LICCProfile::GenerateFile, LICCProfile::GeneratePointer, LICCProfile::GetTagData, LICCProfile::GetTagTypeSig, LICCProfile::Save, LICCProfile::SetTagData, LICCProfile::Fill, LICCProfile::Load, LICCProfile::Free, LICCProfile::GetParametricCurveNumberOfParameters, LICCProfile::DoubleToU8Fixed8Number, LICCProfile::U8Fixed8NumberToDouble, LICCProfile::ConvertCLUTToBuffer, LICCProfile::ConvertCurveTypeToBuffer, LICCProfile::ConvertParametricCurveTypeToBuffer, Class Members |
Topics: |
Using ICC Profile Functions |
|
ICC Profile Functions: Tags |
|
ICC Profile Functions: Creating an ICC Profile |
Example
For an example, refer to LICCProfile::InitHeader.