![]() |
Oyranos
git-devel
Oyranos is a full featured Color Management System
|
The API header for general users to include in your application. More...
Macros | |
#define | oySCOPE_OYRANOS 0x04 |
#define | oySCOPE_MACHINE 0x08 |
#define | oyNAME_MODULE 4 |
the system specific module name; e.g. a library name More... | |
#define | oyNAME_REGISTRATION 5 |
the logical name for selection More... | |
#define | oyNAME_PATTERN 6 |
a logical name for registration search More... | |
#define | oyNAME_JSON 7 |
a hashable description in JSON format More... | |
#define | oySOURCE_FILTER 0x02 |
use inbuild values More... | |
#define | oySOURCE_DATA 0x04 |
use persistenly stored DB values More... | |
#define | oyDEFAULT_PROFILE oyPROFILE_e |
#define | OY_LAYOUT_NO_CHOICES 0x01 |
layout flags for widgets More... | |
#define | OY_LAYOUT_MIDDLE 0x02 |
#define | OY_LAYOUT_PATH_SELECTOR 0x04 |
#define | OY_LAYOUT_INACTIVE 0x08 |
Functions | |
char * | oyGetInstallPath (oyPATH_TYPE_e type, oySCOPE_e scope, oyAlloc_f allocFunc) |
get Path Name for Installation More... | |
int | oyGetBehaviour (oyBEHAVIOUR_e type) |
int | oySetBehaviour (oyBEHAVIOUR_e type, oySCOPE_e scope, int choice) |
char * | oyGetCMMPattern (oyCMM_e type, uint32_t flags, oyAlloc_f allocate_func) |
Get a default CMM. More... | |
int | oySetCMMPattern (oyCMM_e type, uint32_t flags, oySCOPE_e scope, const char *name) |
set a CMM as default More... | |
char ** | oyGetCMMs (oyCMM_e type, int name_type, uint32_t flags, oyAlloc_f allocate_func) |
Get a CMM list as strings. More... | |
char * | oyCMMRegistrationToName (const char *registration, oyCMM_e type, int name_type, uint32_t flags, oyAlloc_f allocate_func) |
Get a CMM string. More... | |
char * | oyCMMNameToRegistration (const char *name, oyCMM_e type, int name_type, uint32_t flags, oyAlloc_f allocate_func) |
Get a CMM registration from UI string. More... | |
int | oyPolicySaveActual (oyGROUP_e group, oySCOPE_e scope, const char *name) |
save a options group to a file More... | |
char * | oyPolicyToXML (oyGROUP_e group, int add_header, oyAlloc_f alloc_func) |
int | oyReadXMLPolicy (oyGROUP_e group, const char *xml) |
int | oyPolicySet (const char *policy, const char *full_name) |
int | oyPolicyFileNameGet (const char *policy_name, char **full_name, oyAlloc_f allocateFunc) |
resolve the file name of a policy More... | |
char * | oyGetPathFromProfileName (const char *profile_name, oyAlloc_f) |
int | oySetDefaultProfile (oyPROFILE_e type, oySCOPE_e scope, const char *file_name) |
char * | oyGetDefaultProfileName (oyPROFILE_e type, oyAlloc_f alloc_func) |
int | oyGetDisplayWhitePoint (int mode, double *XYZ) |
get the ICC*XYZ coordinates for display white point target More... | |
int | oySetDisplayWhitePoint (double *XYZ, oySCOPE_e scope, const char *comment) |
set the CIE*XYZ coordinates for display white point target More... | |
char ** | oyProfileListGet (const char *colorsig, uint32_t *size, oyAlloc_f allocateFunc) |
get a list of profile filenames More... | |
char ** | oyProfilePathsGet (int *size, oyAlloc_f allocateFunc) |
get Search Path names for ICC Profiles More... | |
int | oyCheckProfile (const char *name, const char *unused) |
check an file if it is a profile More... | |
int | oyCheckProfileMem (const void *mem, size_t size, const char *unused) |
check an memory block if it is a profile More... | |
size_t | oyGetProfileSize (const char *profilename) |
get the profiles size More... | |
void * | oyGetProfileBlock (const char *profilename, size_t *size, oyAlloc_f alloc_func) |
obtain an memory block in the responsibility of the user More... | |
oyWIDGET_e * | oyWidgetListGet (oyGROUP_e group, int *count, oyAlloc_f allocate_func) |
all widgets of a group More... | |
oyWIDGET_TYPE_e | oyWidgetTitleGet (oyWIDGET_e option, const oyGROUP_e **categories, const char **name, const char **tooltip, int *flags) |
Get a special Options UI strings. More... | |
int | oyOptionChoicesGet (oyWIDGET_e option, int *choices, const char ***choices_string_list, int *current) |
Get a Options choices UI strings. More... | |
uint32_t | oyICCProfileSelectionFlagsFromRegistration (const char *registration) |
Get flags for oyProfile_FromFile() and friends. More... | |
int | oyOptionChoicesGet2 (oyWIDGET_e option, uint32_t flags, int name_type, int *choices, const char ***choices_string_list, int *current) |
see oyOptionChoicesGet() More... | |
void | oyOptionChoicesFree (oyWIDGET_e option, const char ***list, int size) |
delete list of choices from a option More... | |
int | oyGetPersistentStrings (const char *top_key_name) |
cache strings from DB More... | |
int | oyProfileGetMD5 (void *buffer, size_t size, unsigned char *md5_return) |
calculate a md5 digest beginning after the header offset More... | |
void | oyLibConfigRelease (int flags) |
The API header for general users to include in your application.
public Oyranos API's
This file contains all functions and structs available in the Oyranos API.
For further macros see
Oyranos is an open source Color Management System
#define OY_LAYOUT_INACTIVE 0x08 |
show that this widget is disabled
#define OY_LAYOUT_MIDDLE 0x02 |
Arrange in the middle.
#define OY_LAYOUT_NO_CHOICES 0x01 |
layout flags for widgets
show informational
#define OY_LAYOUT_PATH_SELECTOR 0x04 |
add a path selector to each entry
#define oyDEFAULT_PROFILE oyPROFILE_e |
enum oyBEHAVIOUR_e |
Behaviour settings.
possibly include the default profiles here
Enumerator | |
---|---|
oyBEHAVIOUR_ACTION_UNTAGGED_ASSIGN | What to do if image is untagged ? OY_ACTION_UNTAGGED_ASSIGN |
oyBEHAVIOUR_ACTION_OPEN_MISMATCH_RGB | What to do if profiles mismatch ? OY_ACTION_MISMATCH_RGB |
oyBEHAVIOUR_ACTION_OPEN_MISMATCH_CMYK | What to do if profiles mismatch ? OY_ACTION_MISMATCH_CMYK |
oyBEHAVIOUR_MIXED_MOD_DOCUMENTS_PRINT | Convert befor save for Print? OY_CONVERT_MIXED_COLOR_SPACE_PRINT_DOCUMENT |
oyBEHAVIOUR_MIXED_MOD_DOCUMENTS_SCREEN | Convert befor save for Screen? OY_CONVERT_MIXED_COLOR_SPACE_SCREEN_DOCUMENT |
oyBEHAVIOUR_RENDERING_INTENT | Standard color transformations; OY_DEFAULT_RENDERING_INTENT |
oyBEHAVIOUR_RENDERING_BPC | use BlackPointCompensation; OY_DEFAULT_RENDERING_BPC |
oyBEHAVIOUR_RENDERING_INTENT_PROOF | Proofing color transformations; OY_DEFAULT_RENDERING_INTENT_PROOF |
oyBEHAVIOUR_PROOF_SOFT | Proofing by default for screen; OY_DEFAULT_PROOF_SOFT |
oyBEHAVIOUR_PROOF_HARD | Proofing by default for printing; OY_DEFAULT_PROOF_HARD |
oyBEHAVIOUR_EFFECT | Using Effect by default; OY_DEFAULT_EFFECT |
oyBEHAVIOUR_RENDERING_GAMUT_WARNING | mark out of gamut colors; OY_DEFAULT_RENDERING_GAMUT_WARNING |
oyBEHAVIOUR_DISPLAY_WHITE_POINT | select a display white point; OY_DEFAULT_DISPLAY_WHITE_POINT |
oyBEHAVIOUR_DISPLAY_WHITE_POINT_DAEMON | set and activate a display white point daemon; OY_DEFAULT_DISPLAY_WHITE_POINT_DAEMON |
oyBEHAVIOUR_END | just for easen Gui design |
enum oyGROUP_e |
Widget Groups.
enum oyPROFILE_e |
Default Profiles.
enum oyWIDGET_e |
options for UI presentation, covering all kind of settings
Enumerator | |
---|---|
oyWIDGET_GROUP_POLICY | Policies |
oyWIDGET_GROUP_PATHS | Paths |
oyWIDGET_GROUP_DEFAULT_PROFILES | Default Profiles |
oyWIDGET_GROUP_DEFAULT_PROFILES_EDIT | Default Editing Profiles |
oyWIDGET_GROUP_DEFAULT_PROFILES_ASSUMED | Default Assumed Profiles |
oyWIDGET_GROUP_BEHAVIOUR | Behaviour |
oyWIDGET_GROUP_BEHAVIOUR_RENDERING | Rendering Behaviour |
oyWIDGET_GROUP_BEHAVIOUR_MIXED_MODE_DOCUMENTS | PDF Generation Options |
oyWIDGET_GROUP_BEHAVIOUR_MISSMATCH | Profile Missmatch Behaviour |
oyWIDGET_GROUP_BEHAVIOUR_PROOF | Profile Proof Behaviour |
oyWIDGET_GROUP_BEHAVIOUR_EFFECT | Profile Effect Behaviour |
oyWIDGET_GROUP_BEHAVIOUR_DISPLAY | Display Viewing Condition Behaviour |
oyWIDGET_GROUP_CMM | Color Matching Modules |
oyWIDGET_GROUP_ALL | just for easen Gui design |
oyWIDGET_GROUP_DEVICES | just for easen Gui design |
oyWIDGET_GROUP_DEVICES_PROFILES_TAXI | just for easen Gui design |
oyWIDGET_GROUP_DEVICES_PROFILES | just for easen Gui design |
oyWIDGET_GROUP_INFORMATION | just for easen Gui design |
oyWIDGET_GROUP_EXTERN | start of groups in a extern module |
oyWIDGET_POLICY | policy selection |
oyWIDGET_PATHS | path selection |
oyWIDGET_ACTION_UNTAGGED_ASSIGN | What to do if image is untagged ? |
oyWIDGET_ACTION_OPEN_MISMATCH_RGB | What to do if profiles mismatch ? |
oyWIDGET_ACTION_OPEN_MISMATCH_CMYK | What to do if profiles mismatch ? |
oyWIDGET_MIXED_MOD_DOCUMENTS_PRINT | Convert befor save for Print? |
oyWIDGET_MIXED_MOD_DOCUMENTS_SCREEN | Convert befor save for Screen? |
oyWIDGET_RENDERING_INTENT | Standard color transformations |
oyWIDGET_RENDERING_BPC | use BlackPointCompensation |
oyWIDGET_RENDERING_INTENT_PROOF | Proofing color transformations |
oyWIDGET_PROOF_SOFT | Proofing by default for screen |
oyWIDGET_PROOF_HARD | Proofing by default for printing |
oyWIDGET_EFFECT | Using Effect profile by default |
oyWIDGET_RENDERING_GAMUT_WARNING | mark out of gamut colors |
oyWIDGET_DISPLAY_WHITE_POINT | select a display white point mode OY_DEFAULT_DISPLAY_WHITE_POINT |
oyWIDGET_DISPLAY_WHITE_POINT_DAEMON | select a display white point daemon OY_DEFAULT_DISPLAY_WHITE_POINT_DAEMON |
oyWIDGET_BEHAVIOUR_END | just for easen Gui design |
oyWIDGET_EDITING_XYZ | XYZ Editing (Workspace) Profile |
oyWIDGET_EDITING_LAB | Lab Editing (Workspace) Profile |
oyWIDGET_EDITING_RGB | Rgb Editing (Workspace) Profile |
oyWIDGET_EDITING_CMYK | Cmyk Editing (Workspace) Profile |
oyWIDGET_EDITING_GRAY | Gray Editing (Workspace) Profile |
oyWIDGET_ASSUMED_XYZ | standard XYZ assumed source profile |
oyWIDGET_ASSUMED_LAB | standard Lab assumed source profile |
oyWIDGET_ASSUMED_RGB | standard RGB assumed source profile |
oyWIDGET_ASSUMED_WEB | std internet assumed source static_profile |
oyWIDGET_ASSUMED_CMYK | standard Cmyk assumed source profile |
oyWIDGET_ASSUMED_GRAY | standard Gray assumed source profile |
oyWIDGET_PROFILE_PROOF | standard proofing profile |
oyWIDGET_PROFILE_EFFECT | effect profile |
oyWIDGET_DEFAULT_PROFILE_END | just for easen Gui design |
oyWIDGET_DEVICES_RELATED | select only device related profiles [checkbox] |
oyWIDGET_POLICY_ACTIVE | active policy [choice] |
oyWIDGET_TAXI_PROFILE_INSTALL | Install selected profile [button] |
oyWIDGET_CMM_START | CMM options |
oyWIDGET_CMM_CONTEXT | CMM core selection |
oyWIDGET_CMM_RENDERER | take a device link and color convert |
oyWIDGET_CMM_CONTEXT_FALLBACK | CMM core fallback selection |
oyWIDGET_CMM_RENDERER_FALLBACK | take a device link and color convert |
oyWIDGET_CMM_END | just for easen Gui design |
enum oyWIDGET_TYPE_e |
type of widget
Enumerator | |
---|---|
oyWIDGETTYPE_GROUP_TREE | group creating a new visibility (tab, leave) |
oyWIDGETTYPE_PROFILE | select a profile through a list widget |
oyWIDGETTYPE_INT | TODO
|
oyWIDGETTYPE_FLOAT | IEEE floating point number |
oyWIDGETTYPE_CHOICE | option from a array of choices |
oyWIDGETTYPE_LIST | list widget, like for paths |
oyWIDGETTYPE_VOID | data block, should not be selectable |
int oyGetDisplayWhitePoint | ( | int | mode, |
double * | XYZ | ||
) |
get the ICC*XYZ 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] | ICC_XYZ | ICC*XYZ trio in 0.0 - 2.0 range |
References OY_DEFAULT_DISPLAY_WHITE_POINT_X, oyBEHAVIOUR_DISPLAY_WHITE_POINT, oyGetBehaviour(), oyGetPersistentString(), and oySCOPE_USER_SYS.