![]() |
Oyranos
0.9.7
Oyranos is a full featured Color Management System
|
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 range. More... | |
void | lcm2SamplerLCh2Lab (const double i[], double o[], void *none OY_UNUSED) |
CIE*LCh -> CIE*Lab in PCS*Lab range. More... | |
void | lcm2SamplerJCh2Lab (const double i[], double o[], void *v) |
CIE*LCh -> CIE*Lab in PCS*Lab range. More... | |
void | lcm2SamplerLab2JCh (const double i[], double o[], void *v) |
CIE*Lab -> CIE*JCh. 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 | lcm2SamplerIdendity (const double i[], double o[], void *none OY_UNUSED) |
Lab -> Lab. 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 | lcm2SamplerWhitePointLab (const double i[], double o[], void *data) |
Lab -> White Point Adaption -> Lab. 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 | 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 | 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 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 | 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... | |
littleCMS CMM profile generator for Oyranos