Oyranos
git-devel
Oyranos is a full featured Color Management System
|
Configure default profiles. More...
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... | |
Configure default profiles.
char* oyGetDefaultProfileName | ( | oyPROFILE_e | type, |
oyAlloc_f | allocate_func | ||
) |
Gets a default profile filename.
type | the kind of default profile |
allocate_func | the allocation function needed to reserve memory for the filename string |
int oySetDefaultProfile | ( | oyPROFILE_e | type, |
oySCOPE_e | scope, | ||
const char * | file_name | ||
) |
Sets a profile, which is available in the current configured path.
type | the kind of default profile | |
[in] | scope | supported are:
|
file_name | the profile, which shall become the default for the above specified profile type |
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.
[out] | XYZ | ICC*XYZ trio in 0.0 - 2.0 range |
[in] | scope | supported are:
|
[in] | comment | string |
References OY_DEFAULT_DISPLAY_WHITE_POINT_X, OY_DEFAULT_DISPLAY_WHITE_POINT_Y, OY_DEFAULT_DISPLAY_WHITE_POINT_Z, and oySetPersistentString().