Hi Gerhard,

Yep, you are right. Shame on me for responding without 
reading carefully the request :-)

You need some kind of math model or whatever that, given
*any* Lab returns its corresponding RGB/CMYK. Or vice-versa.
The sampler callback is just a way to embed such model into a profile.

There are some samples on how to do that in the 'samples' 
folder. Take a look at mktiff8.c, mkgrayer.c, mkcmy.c and itufax.c

I am willing to include some documentation in the 1.13

Regards,
Marti.


----- Original Message ----- 
From: "gerhard.fuernkranz" <[EMAIL PROTECTED]>
To: "Marti Maria" <[EMAIL PROTECTED]>; "Christian Bednarek" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Gerhard Fuernkranz" <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 5:03 PM
Subject: Re: [Lcms-user] How does this all work? or: help, I'm too stupid!



Marti Maria schrieb:

>Normally, there is no need to go so deep. _cmsSampler 
>is one of these complex things that you probably do not need.
>
Hello,
maybe I did misunderstand Chris, but when he said

>> I'm smart enough to understand, that this "sample"
>> values together with the known input-values are the
>> core of a profile. But how on earth does this relate
>> to _cmsSampler, the LUTs and so on?

I was believing, that his desire is rather not to apply
a profile, but to understand how to *create* a profile
from measurement data?

> Well, littlecms in core is just a CMM.

Right, that's the point. Creating a profile from measurements
is a (high sophisticated) task for a profiler and not for a
CMM, and thus it is not supported by the LCMS library. In
the library there exist only the low level functions to
create/sample the LUT, to store the LUT into a profile and
to write the profile to a file.

Gerhard




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to