![]() |
Oyranos Colour Management System API |
|
Modules | |
| Generic Objects | |
| Rectangle Handling | |
| ICC helpers | |
Functions | |
| void | oyI18NSet (int active, int reserved) |
| switch internationalisation of strings on or off | |
| oyChar * | oyDumpColourToCGATS (const double *channels, size_t n, oyProfile_s *prof, oyAlloc_f allocateFunc, const oyChar *DESCRIPTOR) |
| create CGATS text from double value array and a profile | |
| void | oyCopyColour (const double *from, double *to, int n, oyProfile_s *ref, int channels_n) |
| copy pure colours | |
| const char * | oyLanguage (void) |
| get language code | |
| const char * | oyCountry (void) |
| get country code | |
| const char * | oyLang (void) |
| get LANG code/variable | |
| void | oyI18Nreset (void) |
| reset i18n language and country variables | |
| int | oyVersion (int type) |
| give the compiled in library version | |
| char * | oyVersionString (int type, oyAlloc_f allocateFunc) |
| give the configure options for Oyranos | |
| icUInt16Number | oyValueUInt16 (icUInt16Number val) |
| MSB<->LSB. | |
Miscellaneous stuff.
| void oyCopyColour | ( | const double * | from, |
| double * | to, | ||
| int | n, | ||
| oyProfile_s * | ref, | ||
| int | channels_n | ||
| ) |
copy pure colours
Handle colour only. With a empty from variable set -1 as default in to.
References oyICCColourSpaceGetChannelCount(), and oyProfile_s::oyProfile_GetSignature().
Referenced by oyNamedColour_s::oyNamedColour_Create(), oyNamedColour_s::oyNamedColour_CreateWithName(), oyNamedColour_s::oyNamedColour_GetColourStd(), and oyNamedColour_s::oyNamedColour_SetColourStd().
| const char* oyCountry | ( | void | ) |
get country code
Referenced by oyProfileTag_s::oyProfileTag_GetText().
| oyChar* oyDumpColourToCGATS | ( | const double * | channels, |
| size_t | n, | ||
| oyProfile_s * | prof, | ||
| oyAlloc_f | allocateFunc, | ||
| const oyChar * | DESCRIPTOR | ||
| ) |
create CGATS text from double value array and a profile
Function oyDumpColourToCGATS The funtion operates on raw colour values. Alpha is not supported. The intention is to have a small debugging only tool. The values are required to come prescaled (IE RGB 0...255, XYZ 0...1, CMYK 0...100 ...)
References oyProfile_s::oyProfile_GetChannelsCount(), and oyProfile_s::oyProfile_GetSignature().
| void oyI18Nreset | ( | void | ) |
reset i18n language and country variables
| void oyI18NSet | ( | int | active, |
| int | reserved | ||
| ) |
switch internationalisation of strings on or off
| active | bool |
| reserved | for future use |
| const char* oyLang | ( | void | ) |
get LANG code/variable
| const char* oyLanguage | ( | void | ) |
get language code
Referenced by oyFilterCore_s::oyFilterCore_SetCMMapi4_(), and oyProfileTag_s::oyProfileTag_GetText().
| icUInt16Number oyValueUInt16 | ( | icUInt16Number | val | ) |
MSB<->LSB.
Referenced by oyProfile_s::oyProfile_GetSignature(), and oyProfile_s::oyProfile_SetSignature().
| int oyVersion | ( | int | type | ) |
give the compiled in library version
| [in] | type | 0 - Oyranos API 1 - start month 2 - start year 3 - development last month 4 - development last year |
Referenced by oyObject_s::oyObject_NewWithAllocators(), and oyVersionString().
| char* oyVersionString | ( | int | type, |
| oyAlloc_f | allocateFunc | ||
| ) |
give the configure options for Oyranos
| [in] | type |
|
| allocateFunc | user allocator, e.g. malloc |
References oyVersion().
Referenced by oyGetHtmlHeader(), and oyArray2d_s::oyImage_WritePPM().