Oyranos  0.9.7
Oyranos is a full featured Color Management System
Data Structures | Macros | Functions
oyProfile_s.h File Reference
#include <icc34.h>
#include <oyranos_object.h>
#include "oyStruct_s.h"
#include "oyranos.h"
#include "oyranos_profile.h"
#include "oyProfileTag_s.h"
#include "oyConfig_s.h"

Data Structures

struct  oyProfile_s
 A profile and its attributes. More...
 

Macros

#define OY_NO_CACHE_READ   0x01
 
#define OY_NO_CACHE_WRITE   0x02
 
#define OY_FROM_PROFILE   0x04
 
#define OY_COMPUTE   0x08
 
#define OY_ICC_VERSION_2   0x10
 
#define OY_ICC_VERSION_4   0x20
 
#define OY_SKIP_NON_DEFAULT_PATH   0x40
 
#define OY_NO_REPAIR   0x80
 
#define OY_NO_LOAD   0x100
 

Functions

OYAPI int OYEXPORT oyProfile_GetWhitePoint (oyProfile_s *profile, double *CIE_XYZ)
 get the ICC*XYZ coordinates of a white point More...
 
const char * oyProfile_FindMeta (oyProfile_s *profile, const char *key, const char *value)
 Find string match in meta tag. More...
 

Detailed Description

[Template file inheritance graph] +-> oyProfile_s.template.h | +-> Base_s.h | +– oyStruct_s.template.h

Oyranos is an open source Color Management System

Copyright:
2004-2018 (C) Kai-Uwe Behrmann
Author
Kai-Uwe Behrmann ku.b@.nosp@m.gmx..nosp@m.de
License:
new BSD - see: http://www.opensource.org/licenses/BSD-3-Clause

Function Documentation

◆ oyProfile_FindMeta()

const char* oyProfile_FindMeta ( oyProfile_s profile,
const char *  key,
const char *  value 
)

Find string match in meta tag.

Parameters
[in]profilethe object
[out]keythe key inside the meta tag
[out]valuethe expected value or NULL for any value
Returns
matching string
Version
Oyranos: 0.9.7
Date
2018/02/22
Since
2018/02/22 (Oyranos: 0.9.7)

References oyProfile_s::oyProfile_GetTagById().

◆ oyProfile_GetWhitePoint()

OYAPI int OYEXPORT oyProfile_GetWhitePoint ( oyProfile_s profile,
double *  ICC_XYZ 
)

get the ICC*XYZ coordinates of a white point

Parameters
[out]ICC_XYZICC*XYZ trio in 0.0 - 2.0 range
Returns
0 - success; -1 - no white point available; < 1 - error
Version
Oyranos: 0.9.7
Date
2018/02/28
Since
2017/06/06 (Oyranos: 0.9.7)

References oyOBJECT_OPTION_S, oyOption_s::oyOption_GetRegistration(), oyOption_s::oyOption_GetValueDouble(), oyProfile_s::oyProfile_GetTagById(), oyProfileTag_s::oyProfileTag_Get(), oyProfileTag_s::oyProfileTag_Release(), oyStructList_s::oyStructList_Count(), oyStructList_s::oyStructList_GetType(), and oyStructList_s::oyStructList_Release().