Hi,
I new to lcms and c programming.
I'm have written simple program that reads Lab values for given CMYK
values. The core of program looks like that:
xform = cmsCreateTransform(hProfile, TYPE_CMYK_DBL, hLab, TYPE_Lab_DBL,
INTENT_ABSOLUTE_COLORIMETRIC, 0);
cmsDoTransform(xform, &CMYK, &Lab, 1);
so 4 element CMYK array gives me Lab values. I have CMYK values form 0 to
100.00
Now i need to extend it o read not only from CMYK profiles but also from
other prtr profiles including 6CLR profiles. I'm able to list all named
colors from profile, but I dont know how to get lab values for 6 element
input array.
The problem is probably easy but I do not know what to pass to
cmsCreateTransform instead of TYPE_CMYK_DB for 6CLR profile. I found
TYPE_NAMED_COLOR_INDEX but it seems to work on single channel, not 6
channels. Can anyone help me?
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user