Re: [Lcms-user] Converting Lab to CMYK

2004-09-18 Thread Marti Maria
ECTED]> To: "Marti Maria" <[EMAIL PROTECTED]> Cc: "Lcms Liste" <[EMAIL PROTECTED]> Sent: Saturday, September 18, 2004 8:25 PM Subject: Re: [Lcms-user] Converting Lab to CMYK Marti Maria schrieb: >It currently uses ICC encoding, either v2 or v4 on depending

Re: [Lcms-user] Converting Lab to CMYK

2004-09-18 Thread Gerhard Fuernkranz
Marti Maria schrieb: It currently uses ICC encoding, either v2 or v4 on depending on the version of the Lab profile being used as input/output. Marti, I've now also looked at the code. For me it looks like UnrollLabDouble() converts TYPE_Lab_DBL to either V2 or V4 PCS encoding (as you said), de

Re: [Lcms-user] Converting Lab to CMYK

2004-09-18 Thread Marti Maria
Hi, >But I'm not sure, which encoding is expcted by the the cmsDoTransform() >API, since it looks like this is not documented - I think it would be >necessary to check the code (or to ask Marti). It currently uses ICC encoding, either v2 or v4 on depending on the version of the Lab profile bei

Re: [Lcms-user] Converting Lab to CMYK

2004-09-18 Thread Gerhard Fuernkranz
Kai-Uwe Behrmann schrieb: Am 17.09.04, 21:02 +0800 schrieb Peter: Hello, I try doing the Lab to CMYK convertion with snippet like below, it works double fLab[3]; unsigned char nCMYK[4]; fLab[0] = 50.0; fLab[1] = 80.0; fLab[2] = 50.0; hOutProfile = cmsOpenProfileFromFile(szPath, "

Re: [Lcms-user] Converting Lab to CMYK

2004-09-17 Thread Kai-Uwe Behrmann
Am 17.09.04, 21:02 +0800 schrieb Peter: > Hello, > > I try doing the Lab to CMYK convertion with snippet like below, it works > > double fLab[3]; > unsigned char nCMYK[4]; > > fLab[0] = 50.0; > fLab[1] = 80.0; > fLab[2] = 50.0; > hOutProfile = cmsOpenProfileFromFile(szPa

[Lcms-user] Converting Lab to CMYK

2004-09-17 Thread Peter
Hello, I try doing the Lab to CMYK convertion with snippet like below, it works double fLab[3]; unsigned char nCMYK[4]; fLab[0] = 50.0; fLab[1] = 80.0; fLab[2] = 50.0; hOutProfile = cmsOpenProfileFromFile(szPath, "r"); hLabProfile = cmsCreateLabProfile(NULL); hTransf