Oyranos  git-devel
Oyranos is a full featured Color Management System
Functions
Default Profiles

Configure default profiles. More...

Collaboration diagram for Default Profiles:

Functions

int oySetDefaultProfile (oyPROFILE_e type, oySCOPE_e scope, const char *file_name)
 
char * oyGetDefaultProfileName (oyPROFILE_e type, oyAlloc_f allocate_func)
 
int oySetDisplayWhitePoint (double *XYZ, oySCOPE_e scope, const char *comment)
 set the CIE*XYZ coordinates for display white point target More...
 

Detailed Description

Configure default profiles.

See also
Path Names

Function Documentation

◆ oyGetDefaultProfileName()

char* oyGetDefaultProfileName ( oyPROFILE_e  type,
oyAlloc_f  allocate_func 
)

Gets a default profile filename.

Parameters
typethe kind of default profile
allocate_functhe allocation function needed to reserve memory for the filename string
Returns
filename

◆ oySetDefaultProfile()

int oySetDefaultProfile ( oyPROFILE_e  type,
oySCOPE_e  scope,
const char *  file_name 
)

Sets a profile, which is available in the current configured path.

Parameters
typethe kind of default profile
[in]scopesupported are:
  • oySCOPE_USER for HOME install
  • oySCOPE_SYSTEM for system wide install
file_namethe profile, which shall become the default for the above specified profile type
Returns
success

◆ oySetDisplayWhitePoint()

int oySetDisplayWhitePoint ( double *  XYZ,
oySCOPE_e  scope,
const char *  comment 
)

set the CIE*XYZ coordinates for display white point target

The function sets a custom white point target for the display. Note this setting will only be active when OY_DEFAULT_DISPLAY_WHITE_POINT is set to 1 - automatic.

Parameters
[out]XYZICC*XYZ trio in 0.0 - 2.0 range
[in]scopesupported are:
  • oySCOPE_USER for HOME install
  • oySCOPE_SYSTEM for system wide install
[in]commentstring
Version
Oyranos: 0.9.7
Date
2018/03/01
Since
2017/06/01 (Oyranos: 0.9.7)

References OY_DEFAULT_DISPLAY_WHITE_POINT_X, OY_DEFAULT_DISPLAY_WHITE_POINT_Y, OY_DEFAULT_DISPLAY_WHITE_POINT_Z, and oySetPersistentString().