#include <time.h>
#include <string.h>
#include "IccProfile.h"
#include "IccTag.h"
#include "IccIO.h"
#include "IccUtil.h"
#include "md5.h"
Functions | |
CIccProfile * | ReadIccProfile (const icChar *szFilename) |
CIccProfile * | ReadIccProfile (const icUInt8Number *pMem, icUInt32Number nSize) |
CIccProfile * | OpenIccProfile (const icChar *szFilename) |
CIccProfile * | OpenIccProfile (const icUInt8Number *pMem, icUInt32Number nSize) |
CIccProfile * | ValidateIccProfile (const icChar *szFilename, std::string &sReport, icValidateStatus &nStatus) |
bool | SaveIccProfile (const icChar *szFilename, CIccProfile *pIcc) |
void | CalcProfileID (CIccIO *pIO, icProfileID *pProfileID) |
bool | CalcProfileID (const icChar *szFilename, icProfileID *pProfileID) |
Contains: Implementation of the CIccProfile class.
Version: V1
Copyright: © see ICC Software License
|
Name: CalcProfileID Purpose: Calculate the Profile ID using MD5 Fingerprinting method. Args: szFileName = name of the file whose profile ID has to be calculated, pProfileID = array where the profileID will be stored |
|
Name: CalcProfileID Purpose: Calculate the Profile ID using MD5 Fingerprinting method. Args: pIO = The CIccIO object, pProfileID = array where the profileID will be stored |
|
Name: OpenIccProfile Purpose: Open an ICC profile file. This will only read the profile header and tag directory. Loading of actual tags will be deferred until the tags are actually referenced by FindTag(). Args: pMem = pointer to memory containing profile data nSize = size of memory related to profile Return: Pointer to icc profile object, or NULL on failure |
|
Name: OpenIccProfile Purpose: Open an ICC profile file. This will only read the profile header and tag directory. Loading of actual tags will be deferred until the tags are actually referenced by FindTag(). Args: szFilename - zero terminated string with filename of ICC profile to read Return: Pointer to icc profile object, or NULL on failure |
|
Name: ReadIccProfile Purpose: Read an ICC profile file. Args: pMem = pointer to memory containing profile data nSize = size of memory related to profile Return: Pointer to icc profile object, or NULL on failure |
|
Name: ReadIccProfile Purpose: Read an ICC profile file. Args: szFilename - zero terminated string with filename of ICC profile to read Return: Pointer to icc profile object, or NULL on failure |
|
Name: SaveIccProfile Purpose: Save an ICC profile file. Args: szFilename - zero terminated string with filename of ICC profile to create Return: true = success, false = failure |
|
Name: ValidateIccProfile Purpose: Open an ICC profile file. This will only read the profile header and tag directory. Loading of actual tags will be deferred until the tags are actually referenced by FindTag(). Args: szFilename - zero terminated string with filename of ICC profile to read Return: Pointer to icc profile object, or NULL on failure |