Scribus
Open source desktop publishing at your fingertips
ScLcms2ColorMgmtEngineImpl Class Reference
Inheritance diagram for ScLcms2ColorMgmtEngineImpl:
Collaboration diagram for ScLcms2ColorMgmtEngineImpl:

Classes

class  lcmsException
 

Public Member Functions

virtual void setStrategy (const ScColorMgmtStrategy &strategy)
 
virtual QList< ScColorProfileInfogetAvailableProfileInfo (const QString &directory, bool recursive)
 
virtual ScColorProfile openProfileFromFile (ScColorMgmtEngine &engine, const QString &filePath)
 
virtual ScColorProfile openProfileFromMem (ScColorMgmtEngine &engine, const QByteArray &array)
 
virtual ScColorProfile createProfile_sRGB (ScColorMgmtEngine &engine)
 
virtual ScColorProfile createProfile_Lab (ScColorMgmtEngine &engine)
 
virtual ScColorTransform createTransform (ScColorMgmtEngine &colorManagementEngine, const ScColorProfile &inputProfile, eColorFormat inputFormat, const ScColorProfile &outputProfile, eColorFormat outputFormat, eRenderIntent renderIntent, long transformFlags)
 
virtual ScColorTransform createProofingTransform (ScColorMgmtEngine &colorManagementEngine, const ScColorProfile &inputProfile, eColorFormat inputFormat, const ScColorProfile &outputProfile, eColorFormat outputFormat, const ScColorProfile &proofing, eRenderIntent renderIntent, eRenderIntent proofingIntent, long transformFlags)
 
- Public Member Functions inherited from ScColorMgmtEngineData
 ScColorMgmtEngineData (const QString &desc, int uniqueID)
 
int engineID () const
 
const QString & description () const
 
const ScColorMgmtStrategystrategy () const
 
virtual ScColorSpace createColorSpace (ScColorProfile &profile, eColorFormat colorFormat)
 

Static Protected Member Functions

static cmsUInt32Number translateFlagsToLcmsFlags (long flags)
 
static cmsUInt32Number translateFormatToLcmsFormat (eColorFormat format)
 
static int translateIntentToLcmsIntent (eRenderIntent intent, eRenderIntent defaut=Intent_Relative_Colorimetric)
 
static eColorSpaceType translateLcmsColorSpaceType (cmsColorSpaceSignature)
 
static eProfileClass translateLcmsProfileClass (cmsProfileClassSignature)
 
static void cmsErrorHandler (cmsContext contextID, cmsUInt32Number ErrorCode, const char *ErrorText)
 Simple error handler for use in conjunction with littlecms. More...
 

Static Protected Attributes

static QSharedPointer< ScColorProfileCachem_profileCache
 
static QSharedPointer< ScColorTransformPoolm_transformPool
 

Friends

class ScLcms2ColorProfileImpl
 
class ScLcms2ColorTransformImpl
 

Additional Inherited Members

- Protected Attributes inherited from ScColorMgmtEngineData
int m_engineID
 
QString m_description
 
ScColorMgmtStrategy m_strategy
 

Member Function Documentation

void ScLcms2ColorMgmtEngineImpl::cmsErrorHandler ( cmsContext  contextID,
cmsUInt32Number  ErrorCode,
const char *  ErrorText 
)
staticprotected

Simple error handler for use in conjunction with littlecms.

Parameters
ErrorCodeerror code issued by little cms
ErrorTexterror message corresponding to the error code

The documentation for this class was generated from the following files: