![]() |
Oyranos
git-devel
Oyranos is a full featured Color Management System
|
#include "oyranos_color.h"
#include "oyranos_helper.h"
#include "oyranos_i18n.h"
#include "oyranos_devices.h"
#include "oyranos_icc.h"
#include "oyranos_monitor_effect.h"
#include "oyranos_object_internal.h"
#include "oyranos_texts.h"
#include "oyConversion_s.h"
#include "oyProfile_s_.h"
#include "oyranos_color_internal.h"
Functions | |
int | oyProfileAddWhitePointEffect (oyProfile_s *monitor_profile, oyOptions_s **module_options) |
create_profile.white_point_adjust.bradford More... | |
int | oyDeviceSetup2 (oyConfig_s *device, oyOptions_s *options) |
activate the device using the stored configuration More... | |
OYAPI int OYEXPORT | oyDeviceGetProfile (oyConfig_s *device, oyOptions_s *options, oyProfile_s **profile) |
order a device profile More... | |
int | oyGetDisplayWhitePoint (int mode, double *XYZ) |
get the ICC*XYZ coordinates for display white point target More... | |
Oyranos is an open source Color Management System
OYAPI int OYEXPORT oyDeviceGetProfile | ( | oyConfig_s * | device, |
oyOptions_s * | options, | ||
oyProfile_s ** | profile | ||
) |
order a device profile
Function oyDeviceGetProfile This function is designed to satisfy most users as it tries to deliver a profile all the time. Following code can almost allways expect some profile to go with. It tries hard to get a current profile or set the system up and retry or get at least one basic profile.
For a basic and thus weaker call to the device use oyDeviceAskProfile2() instead.
device | the device |
options |
|
profile | the device's ICC profile |
This function does a device setup in case no profile is delivered by the according module.
As a last means oyASSUMED_WEB is delivered.
int oyDeviceSetup2 | ( | oyConfig_s * | device, |
oyOptions_s * | options | ||
) |
activate the device using the stored configuration
Function oyDeviceSetup2
[in] | device | the device |
[in] | options | additional options,
|
References oyDeviceSetup().
int oyGetDisplayWhitePoint | ( | int | mode, |
double * | XYZ | ||
) |
get the ICC*XYZ coordinates for display white point target
The function asks for a white point target for displaying.
[in] | mode | -1 for oyGetBehaviour( oyBEHAVIOUR_DISPLAY_WHITE_POINT ) |
[out] | ICC_XYZ | ICC*XYZ trio in 0.0 - 2.0 range |
References OY_DEFAULT_DISPLAY_WHITE_POINT_X, oyBEHAVIOUR_DISPLAY_WHITE_POINT, oyGetBehaviour(), oyGetPersistentString(), and oySCOPE_USER_SYS.
int oyProfileAddWhitePointEffect | ( | oyProfile_s * | monitor_profile, |
oyOptions_s ** | module_options | ||
) |
create_profile.white_point_adjust.bradford
The profile will be generated in many different shades, which will explode conversion cache.
References oyProfile_GetWhitePoint().