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_a, double *cie_b)
 get the CIE*ab coordinates of a white point 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_GetWhitePoint()

OYAPI int OYEXPORT oyProfile_GetWhitePoint ( oyProfile_s profile,
double *  cie_a,
double *  cie_b 
)

get the CIE*ab coordinates of a white point

Parameters
[out]cie_aCIE*a component in 0.0 - 1.0 range
[out]cie_bCIE*b component in 0.0 - 1.0 range
Returns
0 - success; -1 - no white point available; < 1 - error
Version
Oyranos: 0.9.7
Date
2017/06/06
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(), oyStructList_s::oyStructList_Release(), and oyXYZ2Lab().