Oyranos  0.9.7
Oyranos is a full featured Color Management System
Functions
lcm2_profiler.c File Reference

littleCMS CMM profile generator for Oyranos More...

#include "lcm2_profiler.h"
#include <assert.h>
#include <lcms2.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <math.h>
#include <wchar.h>

Functions

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))
 
void lcm2SamplerLab2LCh (const double i[], double o[], void *none OY_UNUSED)
 CIE*Lab -> CIE*LCh in PCS*Lab. More...
 
void lcm2SamplerLCh2Lab (const double i[], double o[], void *none OY_UNUSED)
 CIE*LCh -> CIE*Lab in PCS*Lab range. More...
 
void lcm2SamplerRGB2JpegYCbCr (const double i[], double o[], void *none OY_UNUSED)
 RGB -> YCbCr in Jpeg range. More...
 
void lcm2SamplerJpegYCbCr2RGB (const double i[], double o[], void *none OY_UNUSED)
 YCbCr in Jpeg range -> RGB. More...
 
void lcm2SamplerGrayer (const double i[], double o[], void *none OY_UNUSED)
 Lab -> Gray -> Lab. More...
 
void lcm2SamplerBlacknWhite (const double i[], double o[], void *none OY_UNUSED)
 Lab -> Black&White -> Lab. More...
 
void lcm2SamplerSepia (const double i[], double o[], void *none)
 Lab -> LCh -> Yellow -> LCh -> Lab. More...
 
void lcm2SamplerReddish (const double i[], double o[], void *none OY_UNUSED)
 Lab -> reddish tint -> Lab. More...
 
void lcm2SamplerWhitePoint (const double i[], double o[], void *data)
 Lab -> White Point Adaption -> Lab. More...
 
void lcm2SamplerProof (const double i[], double o[], void *data)
 Lab -> proofing profile -> Lab. 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...
 
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 CIE*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 CIE*Lab PCS from Kelvin. More...
 
int lcm2CreateAbstractWhitePointProfile (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 CIE*Lab PCS for white point adjustment. 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...
 
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...
 
int lcm2MessageFunc (int code OY_UNUSED, const void *context_object OY_UNUSED, const char *format,...)
 default message function to console 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