![]() |
Oyranos
0.9.7
Oyranos is a full featured Color Management System
|
The macro header to include in your application without using any Oyranos function. More...
The macro header to include in your application without using any Oyranos function.
macros and definitions
This file contains all macros which are relevant to the Oyranos API using the Elektra library as configuration engine.
For the Oyranos API see
Oyranos is an open source Color Management System
#define MAX_PATH 1024 |
maximal path lenght, if not allready defined elsewhere
#define OY_ACTION_MISMATCH_CMYK OY_BEHAVIOUR_STD OY_SLASH "action_missmatch_cmyk" |
key name for the cmyk profile mismatch action
type string containing a integer [ dont change(0) | convert automatic(1) | promt(2) ]
#define OY_ACTION_MISMATCH_RGB OY_BEHAVIOUR_STD OY_SLASH "action_missmatch_rgb" |
key name for the rgb profile mismatch action
type string containing a integer [ dont change(0) | convert automatic(1) | promt(2) ]
#define OY_ACTION_UNTAGGED_ASSIGN OY_BEHAVIOUR_STD OY_SLASH "action_untagged_assign" |
key name for the non profile tagged content action
type string containing a integer [ dont assign(0) | assign assumed Profile(1) | promt(2) ]
#define OY_BACKTRACE "OY_BACKTRACE" |
#define OY_CONVERT_MIXED_COLOR_SPACE_PRINT_DOCUMENT OY_BEHAVIOUR_STD OY_SLASH "mixed_color_spaces_print_doc_convert" |
key name for the allow mixed color space switch
type string containing a integer [ dont change(0) | convert automatic to default CMYK editing space(1) | convert automatic to unspecified CMYK, keep numbers(2) | promt(3) ]
#define OY_CONVERT_MIXED_COLOR_SPACE_SCREEN_DOCUMENT OY_BEHAVIOUR_STD OY_SLASH "mixed_color_spaces_screen_doc_convert" |
key name for generating a mixed color space for internet warning
type string containing a integer [ dont change(0) | convert automatic to default RGB editing space(1) | convert automatic to WWW sRGB(2) | promt(3) ]
#define OY_DEBUG "OY_DEBUG" |
#define OY_DEBUG_DB_MODULE "OY_DEBUG_DB_MODULE" |
Oyranos debug environment variable.
Selects a prefered module to run the configuration engine with persistent DB and signaling. The text format is like for Registration. A default is "elDB" or "oiDB" depending on your system.
#define OY_DEBUG_MEMORY "OY_DEBUG_MEMORY" |
#define OY_DEBUG_OBJECTS "OY_DEBUG_OBJECTS" |
#define OY_DEBUG_SIGNALS "OY_DEBUG_SIGNALS" |
#define OY_DEFAULT_ASSUMED_CMYK_PROFILE OY_PROFILE_STD OY_SLASH "assumed_cmyk" |
key name for the untagged data assumed source Cmyk profile
type string containing a profile file name or ID
#define OY_DEFAULT_ASSUMED_GRAY_PROFILE OY_PROFILE_STD OY_SLASH "assumed_gray" |
key name for the untagged data assumed source Gray profile
type string containing a profile file name or ID
#define OY_DEFAULT_ASSUMED_LAB_PROFILE OY_PROFILE_STD OY_SLASH "assumed_lab" |
key name for the untagged data assumed source Lab profile
type string containing a profile file name or ID
#define OY_DEFAULT_ASSUMED_RGB_PROFILE OY_PROFILE_STD OY_SLASH "assumed_rgb" |
key name for the untagged data assumed source RGB profile
type string containing a profile file name or ID
#define OY_DEFAULT_ASSUMED_WEB_PROFILE OY_PROFILE_STD OY_SLASH "assumed_web" /* static_profile */ |
name for the untagged data assumed source profile for www content
type string containing a profile file name or ID
#define OY_DEFAULT_ASSUMED_XYZ_PROFILE OY_PROFILE_STD OY_SLASH "assumed_xyz" |
key name for the untagged data assumed source XYZ profile
type string containing a profile file name or ID
#define OY_DEFAULT_CMM_CONTEXT OY_CMM_STD OY_SLASH "context" |
#define OY_DEFAULT_CMM_CONTEXT_FALLBACK OY_CMM_STD OY_SLASH "context_fallback" |
key name for context CMM fallback
type string containing a module
#define OY_DEFAULT_CMM_RENDERER OY_CMM_STD OY_SLASH "renderer" |
key name for renderer CMM
type string containing a module
#define OY_DEFAULT_CMM_RENDERER_FALLBACK OY_CMM_STD OY_SLASH "renderer_fallback" |
key name for renderer CMM fallback
type string containing a module
#define OY_DEFAULT_DISPLAY_WHITE_POINT OY_BEHAVIOUR_STD OY_SLASH "display_white_point" |
key name for common display white point mode
type string containing a integer
#define OY_DEFAULT_DISPLAY_WHITE_POINT_A OY_DISPLAY_STD OY_SLASH "display_white_point_a" |
key name for common display white point CIE*ab target, the CIE*a component in 0.0 - 1.0 range
type string containing a double
Referenced by oyGetDisplayWhitePoint(), and oySetDisplayWhitePoint().
#define OY_DEFAULT_DISPLAY_WHITE_POINT_B OY_DISPLAY_STD OY_SLASH "display_white_point_b" |
key name for common display white point CIE*ab target, the CIE*b component in 0.0 - 1.0 range
type string containing a double
Referenced by oySetDisplayWhitePoint().
#define OY_DEFAULT_DISPLAY_WHITE_POINT_DAEMON OY_DISPLAY_STD OY_SLASH "display_white_point_daemon" |
key name for display white point daemon
The setting is by default not present in the DB. Then OY_DEFAULT_DISPLAY_WHITE_POINT is used for manual settings.
The inbuild alternative value is the "oyranos-monitor-white-point" string for the daemon with the same name. oyranos-monitor-white-point is as well a command line tool fore more options. Unsetting involves removal of the key from the DB.
type string containing a service identifier
#define OY_DEFAULT_EDITING_CMYK_PROFILE OY_PROFILE_STD OY_SLASH "editing_cmyk" |
key name for the default Editing profile
type string containing a profile file name or ID
#define OY_DEFAULT_EDITING_GRAY_PROFILE OY_PROFILE_STD OY_SLASH "editing_gray" |
key name for the default Editing profile
type string containing a profile file name or ID
#define OY_DEFAULT_EDITING_LAB_PROFILE OY_PROFILE_STD OY_SLASH "editing_lab" |
key name for the default Editing profile
type string containing a profile file name or ID
#define OY_DEFAULT_EDITING_RGB_PROFILE OY_PROFILE_STD OY_SLASH "editing_rgb" |
key name for the default Editing profile
type string containing a profile file name or ID
#define OY_DEFAULT_EDITING_XYZ_PROFILE OY_PROFILE_STD OY_SLASH "editing_xyz" |
key name for the default Editing profile
type string containing a profile file name or ID
#define OY_DEFAULT_EFFECT OY_BEHAVIOUR_STD OY_SLASH "effect_switch" |
key name for effect profile by default switch
type string containing 0 or 1
#define OY_DEFAULT_EFFECT_PROFILE OY_PROFILE_STD OY_SLASH "effect" |
key name for a standard proofing profile
type string containing a profile file name or ID
#define OY_DEFAULT_PROOF_HARD OY_BEHAVIOUR_STD OY_SLASH "proof_hard" |
key name for hard proofing by default
type string containing 0 or 1
#define OY_DEFAULT_PROOF_PROFILE OY_PROFILE_STD OY_SLASH "proof" |
key name for a standard proofing profile
type string containing a profile file name or ID
#define OY_DEFAULT_PROOF_SOFT OY_BEHAVIOUR_STD OY_SLASH "proof_soft" |
key name for soft proofing by default
type string containing 0 or 1
#define OY_DEFAULT_RENDERING_BPC OY_BEHAVIOUR_STD OY_SLASH "rendering_bpc" |
key name for the default rendering with BPC
type string containing 0 or 1
#define OY_DEFAULT_RENDERING_GAMUT_WARNING OY_BEHAVIOUR_STD OY_SLASH "rendering_gamut_warning" |
key name for the default gamut warning
type string containing 0 or 1
#define OY_DEFAULT_RENDERING_INTENT OY_BEHAVIOUR_STD OY_SLASH "rendering_intent" |
key name for the default rendering intent
type string containing a integer [perceptual(0) | relative colorimetric(1) | saturation(2) | absolute colorimetric(3)]
#define OY_DEFAULT_RENDERING_INTENT_PROOF OY_BEHAVIOUR_STD OY_SLASH "rendering_intent_proof" |
key name for the default proofing rendering intent
type string containing a integer [relative colorimetric(0) | absolute colorimetric(1)]
#define OY_DOMAIN_INTERNAL "oyranos" |
Domain path for Oyranos specific settings
#define OY_DOMAIN_STD "freedesktop" |
Domain path for standard settings
#define OY_INTERNAL OY_TOP_INTERNAL OY_SLASH OY_DOMAIN_INTERNAL OY_SLASH OY_TYPE_STD |
Oyranos internal key path in the data base
#define OY_MODULE_NAME "_cmm_module" |
Oyranos modules/CMM's suffix after the four byte CMM ID.
for instance LittleCMS has ID lcms, thus we get lcms_cmm_module
#define OY_MODULE_NICK "oyIM" |
Oyranos CMM ID.
It is the id of the internal module and the creator id of profiles
#define OY_MODULE_PATH "OY_MODULE_PATH" |
#define OY_PROFILE_NONE _("[none]") |
none profile
The name of a non existent profile.
#define OY_PROFILE_PATH_SYSTEM_DEFAULT "/usr/share/color/icc" |
default global search path
#define OY_PROFILE_PATH_USER_DEFAULT "~/.color/icc" |
#define OY_PROFILES_EFFECT OY_PROFILE_STD OY_SLASH "profiles_effect" |
key name for effect profiles in a filter node; like for sepia or b/w etc.
type oyProfiles_s containing profiles
#define OY_PROFILES_SIMULATION OY_PROFILE_STD OY_SLASH "profiles_simulation" |
key name for simulation profiles in a filter node; like for proofing
type oyProfiles_s containing profiles
Oyranos default profiles key path in the data base
#define OY_SLASH "/" |
directory separator
#define OY_SLASH_C '/' |
directory separator
Referenced by oyGetKeyFromRegistration(), and oyOption_s::oyOption_FromRegistration().
#define OY_STD OY_TOP_SHARED OY_SLASH OY_DOMAIN_STD OY_SLASH OY_TYPE_STD |
Oyranos general key path in the data base
#define OY_SYS "system/" |
system keys
#define OY_SYS_PATH1 "/usr" |
OpenICC directory proposal needs additional 'share,lib' and 'color' and purpose 'icc,cmms,...'
#define OY_TOP_INTERNAL "org" |
#define OY_TOP_SHARED "org" |
Top path for standard settings
#define OY_TYPE_STD "openicc" |
Type path for standard settings
Referenced by oyraFilterPlug_ImageRectanglesRun().
#define OY_USER "user/" |
user keys
#define OY_USER_PATH "~/.local" |
from OpenICC directory proposal needs additional 'color' and the usage 'icc/cmms/...'