SampleICC Main srcforge
Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

IccProfile.h File Reference

#include "IccDefs.h"
#include <list>
#include <string>

Go to the source code of this file.

Classes

struct  IccTagEntry
struct  IccTagPtr
class  CIccProfile

Defines

#define _ICCPROFILE_H

Typedefs

typedef std::list< IccTagEntryTagEntryList
typedef std::list< IccTagPtrTagPtrList

Functions

CIccProfile ICCPROFLIB_API * ReadIccProfile (const icChar *szFilename)
CIccProfile ICCPROFLIB_API * ReadIccProfile (const icUInt8Number *pMem, icUInt32Number nSize)
CIccProfile ICCPROFLIB_API * OpenIccProfile (const icChar *szFilename)
CIccProfile ICCPROFLIB_API * OpenIccProfile (const icUInt8Number *pMem, icUInt32Number nSize)
CIccProfile ICCPROFLIB_API * ValidateIccProfile (const icChar *szFilename, std::string &sReport, icValidateStatus &nStatus)
bool ICCPROFLIB_API SaveIccProfile (const icChar *szFilename, CIccProfile *pIcc)
void ICCPROFLIB_API CalcProfileID (CIccIO *pIO, icProfileID *profileID)
bool ICCPROFLIB_API CalcProfileID (const icChar *szFilename, icProfileID *profileID)

Variables

ICCPROFLIB_API CIccTag
ICCPROFLIB_API CIccIO


Detailed Description

File: IccProfile.h

Contains: Header for implementation of the CIccProfile class.

Version: V1

Copyright: © see ICC Software License


Define Documentation

#define _ICCPROFILE_H
 


Typedef Documentation

typedef std::list<IccTagEntry> TagEntryList
 

Type: List

Purpose: List of all the tag entries.

typedef std::list<IccTagPtr> TagPtrList
 

Type: List

Purpose: List of pointers to the tags.


Function Documentation

bool ICCPROFLIB_API CalcProfileID const icChar szFilename,
icProfileID pProfileID
 

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

void ICCPROFLIB_API CalcProfileID CIccIO pIO,
icProfileID pProfileID
 

Name: CalcProfileID

Purpose: Calculate the Profile ID using MD5 Fingerprinting method.

Args: pIO = The CIccIO object, pProfileID = array where the profileID will be stored

CIccProfile ICCPROFLIB_API* OpenIccProfile const icUInt8Number pMem,
icUInt32Number  nSize
 

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

CIccProfile ICCPROFLIB_API* OpenIccProfile const icChar szFilename  ) 
 

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

CIccProfile ICCPROFLIB_API* ReadIccProfile const icUInt8Number pMem,
icUInt32Number  nSize
 

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

CIccProfile ICCPROFLIB_API* ReadIccProfile const icChar szFilename  ) 
 

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

bool ICCPROFLIB_API SaveIccProfile const icChar szFilename,
CIccProfile pIcc
 

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

CIccProfile ICCPROFLIB_API* ValidateIccProfile const icChar szFilename,
std::string &  sReport,
icValidateStatus nStatus
 

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


Variable Documentation

class ICCPROFLIB_API CIccIO
 

class ICCPROFLIB_API CIccTag
 


Generated on Tue Jun 26 17:51:44 2007 for IccProfLib by  doxygen 1.3.9.1