![]() |
Oyranos
0.9.7
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 cie_a, double cie_b, oySCOPE_e scope, const char *comment) |
| set the CIE*ab coordinates for display white point target More... | |
| int | oyGetDisplayWhitePoint (int mode, double *cie_a, double *cie_b) |
| get the CIE*ab 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 |
Referenced by ojpgApi4CmmCreate(), oyProfile_s::oyProfile_FromName(), oyProfile_s::oyProfile_FromStd(), and oyProfiles_s::oyProfiles_ForStd().
| int oyGetDisplayWhitePoint | ( | int | mode, |
| double * | cie_a, | ||
| double * | cie_b | ||
| ) |
get the CIE*ab coordinates for display white point target
The function asks for a white point target for displaying.
| [in] | mode | -1 for oyGetBehaviour( oyBEHAVIOUR_DISPLAY_WHITE_POINT ) |
| [out] | cie_a | CIE*a component in 0.0 - 1.0 range |
| [out] | cie_b | CIE*b component in 0.0 - 1.0 range |
References OY_DEFAULT_DISPLAY_WHITE_POINT_A, OY_DEFAULT_DISPLAY_WHITE_POINT_B, oyBEHAVIOUR_DISPLAY_WHITE_POINT, oyConfig_s::oyConfig_Release(), oyConfigs_s::oyConfigs_Get(), oyConfigs_s::oyConfigs_Release(), oyDeviceGetProfile(), oyGetBehaviour(), oyGetPersistentString(), oyOptions_s::oyOptions_Release(), oyProfile_GetWhitePoint(), oyProfile_s::oyProfile_Release(), and oyXYZ2Lab().
Referenced by oiccChangeNodeOption(), and oydiFilterPlug_ImageDisplayRun().
| 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 |
| file_name | the profile which shall become the default for the above specified profile type |
| int oySetDisplayWhitePoint | ( | double | cie_a, |
| double | cie_b, | ||
| oySCOPE_e | scope, | ||
| const char * | comment | ||
| ) |
set the CIE*ab 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.
| [in] | cie_a | CIE*a component in 0.0 - 1.0 range |
| [in] | cie_b | CIE*b component in 0.0 - 1.0 range |
| [in] | scope | supported are:
|
| [in] | comment | string |
References OY_DEFAULT_DISPLAY_WHITE_POINT_A, OY_DEFAULT_DISPLAY_WHITE_POINT_B, and oySetPersistentString().