Oyranos  0.9.7
Oyranos is a full featured Color Management System
Functions
oyProfile_s.c File Reference
#include "oyProfile_s.h"
#include "oyObject_s.h"
#include "oyranos_object_internal.h"
#include "oyProfile_s_.h"
#include "oyranos_devices_internal.h"
#include "oyranos_cache.h"
#include "oyranos_color.h"
#include "oyranos_io.h"
#include "oyranos_icc.h"
#include "oyConfig_s_.h"
#include "oyProfileTag_s_.h"

Functions

int 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.c | +-> Base_s.c | +– oyStruct_s.template.c

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()

int 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().