Hi,
Take a look on samples / mkgrayer.c, mkcmy.c and mktiff8.c, these
are samples on how to build profiles.
Basically you have to setup a callback function. lcms code will call
your function with the node inputs and you have to return the intended
output values.
Regarding 8-bit, you are lucky. This was a last time addition in lcms-1.12:
When creating the profile, add a 8 in the mode string:
handle = cmsOpenProfileFromFile("output.icc", "w8")
That's all, remaining conventions are unchanged.
Regards,
Marti Maria
The little cms project
http://www.littlecms.com
[EMAIL PROTECTED]
----- Original Message -----
From: "kis joe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 20, 2003 7:50 PM
Subject: [Lcms-user] help pls/LUT based printer profile (B2A1)
dear list/Marti Maria
01.
Id like to construct an algorythm (and later code it)
for building a LUT based output profile
02. Profile spec (part of it)
B2A1 (ICC Media-Relative Colorimetric Intent)
8bit LUT
Input channels: 3 (L a b)
Output channels: 4 (C M Y K)
CLUT-points: 32
(Index runs from 0 to 32767)
03.
I have the following table (only example):
Patch printer input measured printed output
nr L a b C M Y K
0 10 5 8 55 80 90 2
1 20 -5 -9 10 80 100 20
2 ...
etc up to 1000 or so
04.
Id like to generate only the B2A1 table now.
How can i do it ?
Its practically a little profiling sw.
05.
Any help just to go in the right direction ?
thank you
joe
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user