Oyranos  0.9.7
Oyranos is a full featured Color Management System
Macros | Typedefs | Functions
lcm2_profiler.h File Reference

littleCMS CMM profile generator for Oyranos More...

#include <lcms2.h>

Macros

#define LCM2PROFILER_MAJOR   1
 major version More...
 
#define LCM2PROFILER_MINOR   0
 minor version More...
 
#define LCM2PROFILER_MICRO   0
 patch version More...
 
#define LCM2PROFILER_API   (LCM2PROFILER_MAJOR*10000 + LCM2PROFILER_MINOR*100 + LCM2PROFILER_MICRO)
 compile time API Version More...
 
#define ICC_2011_LICENSE   "This profile is made available by %s, with permission of %s, and may be copied, distributed, embedded, made, used, and sold without restriction. Altered versions of this profile shall have the original identification and copyright information removed and shall not be misrepresented as the original profile."
 ICC 2011 license template. More...
 

Typedefs

typedef void(* lcm2Sampler_f) (const double i[], double o[], void *vars)
 Manipulation function type. More...
 

Functions

int lcm2CreateAbstractProfile (lcm2Sampler_f samplerMySpace, void *samplerArg, const char *my_space_profile, int grid_size, double icc_profile_version, const char *my_abstract_description, const char **my_abstract_descriptions, const char *my_abstract_file_name, const char *provider, const char *vendor, const char *my_license, const char *device_model, const char *device_manufacturer, const char **my_meta_data, cmsHPROFILE *h_profile)
 Create a effect profile of type abstract in ICC*Lab PCS. More...
 
int lcm2CreateAbstractTemperatureProfile (float kelvin, cmsHPROFILE source_white_profile, int grid_size, double icc_profile_version, char **my_abstract_file_name, cmsHPROFILE *h_profile)
 Create a effect profile of type abstract in ICC*Lab PCS from Kelvin. More...
 
int lcm2CreateAbstractWhitePointProfileLab (double cie_a, double cie_b, int grid_size, double icc_profile_version, char **my_abstract_file_name, cmsHPROFILE *h_profile)
 Create a effect profile of type abstract in ICC*Lab PCS for white point adjustment. More...
 
int lcm2CreateAbstractWhitePointProfileBradford (double *src_iccXYZ, double *illu_iccXYZ, int grid_size, double icc_profile_version, char **my_abstract_file_name, cmsHPROFILE *h_profile)
 Create a effect profile of type abstract in ICC*Lab PCS for white point adjustment. More...
 
cmsHPROFILE lcm2OpenProfileFile (const char *my_space_profile, const char *my_space_profile_path)
 Open a profile from file. More...
 
char * lcm2WriteProfileToFile (cmsHPROFILE my_space_profile, const char *my_space_profile_name, const char *my_space_profile_version, const char *vendor_four_bytes)
 Write a profile to a file. More...
 
void * lcm2WriteProfileToMem (cmsHPROFILE *profile, size_t *size, void *(*allocateFunc)(size_t size))
 
cmsHPROFILE lcm2CreateICCMatrixProfile2 (float gamma, float rx, float ry, float gx, float gy, float bx, float by, float wx, float wy)
 Create a profile from primaries, white point and one gamma value. More...
 
cmsHPROFILE lcm2CreateProfileFragment (const char *in_space_profile, const char *out_space_profile, double icc_profile_version, const char *my_abstract_description, const char *provider, const char *vendor, const char *my_license, const char *device_model, const char *device_manufacturer, cmsHPROFILE h_profile)
 Create a color profile starter. More...
 
void lcm2AddMluDescription (cmsHPROFILE profile, const char *texts[], cmsTagSignature tag_sig)
 Add translated texts to a profile. More...
 
void lcm2AddMetaTexts (cmsHPROFILE profile, const char *prefixes, const char *key_value[], cmsTagSignature tag_sig)
 Add meta data to a profile. More...
 
int lcm2CreateProfileLutByFunc (cmsHPROFILE profile, lcm2Sampler_f samplerMySpace, void *samplerArg, const char *in_space_profile, const char *my_space_profile, const char *out_space_profile, int grid_size, cmsTagSignature tag_sig)
 Generate a ICC profile LUT. More...
 
int lcm2CreateProfileLutByFuncAndCurves (cmsHPROFILE profile, lcm2Sampler_f samplerMySpace, void *samplerArg, cmsToneCurve *in_curves[], cmsToneCurve *out_curves[], const char *in_space_profile, const char *my_space_profile, const char *out_space_profile, int grid_size, cmsTagSignature tag_sig)
 Generate a ICC profile LUT. More...
 
void lcm2iccLab2CIEXYZ (const double *icc_Lab, cmsCIEXYZ *XYZ)
 ICC*Lab -> CIE*XYZ. More...
 
void lcm2CIEXYZ2iccLab (const cmsCIEXYZ *XYZ, double *icc_Lab)
 CIE*XYZ -> ICC*Lab. More...
 
void lcm2iccXYZ2iccLab (const double *XYZ, double *icc_Lab)
 ICC*XYZ -> ICC*Lab. More...
 
void lcm2SamplerLab2JCh (const double i[], double o[], void *viewing_condition)
 CIE*Lab -> CIE*JCh. More...
 
void lcm2SamplerSepia (const double i[], double o[], void *none)
 Lab -> LCh -> Yellow -> LCh -> Lab. More...
 
void lcm2SamplerWhitePointLab (const double i[], double o[], void *data)
 Lab -> White Point Adaption -> Lab. More...
 
void lcm2SamplerWhitePointBradford (const double i[], double o[], void *data)
 Lab -> Bradford White Point Adaption -> Lab. More...
 
void lcm2SamplerProof (const double i[], double o[], void *data)
 Lab -> proofing profile -> Lab. More...
 
void lcm2SamplerProofD (const double i[], double o[], void *data)
 Lab -> proofing profile -> Lab. More...
 
int lcm2MessageFuncSet (lcm2Message_f message_func)
 set a custom message function More...
 
int lcm2Version ()
 run time API version More...
 

Detailed Description

littleCMS CMM profile generator for Oyranos

Copyright:
2009-2017 (C) Kai-Uwe Behrmann