Hi,

Yes, that one. If you use cmsBuildGamma() you are forced to XYZ PCS, but if
you use low-level you can use Lab PCS as well.

Regards
Marti Maria
The LittleCMS project
http://www.littlecms.com 


-----Original Message-----
From: Marco Freudenberger [mailto:marco.freudenber...@entrustdatacard.com] 
Sent: martes, 24 de mayo de 2016 16:14
To: Marti Maria <marti.ma...@littlecms.com>; 'Florian Höch'
<lists+lcms-u...@hoech.org>; lcms-user@lists.sourceforge.net
Subject: RE: [Lcms-user] How to create a gray profile with L-star grey
response?

Marti,
 sorry, I'm not sure I understand your answer.

My intention is gray with L*, not Linear gray (Gamma 1.0), using the
cmsBuildGamma would give me a gamma 1.0 response curve, though - at least
when used with cmsCreateGrayProfile, right? Or am I missing something?

Are you suggesting I'm creating the profile "low level"? Something like:

cmsHPROFILE hProfile = cmsCreateProfilePlaceholder(ctx);
cmsSetProfileVersion(hProfile, 4.3);
cmsSetDeviceClass(hProfile, cmsSigDisplayClass);        // or better
abstract?    
cmsSetColorSpace(hProfile, cmsSigGrayData);   
cmsSetPCS(hProfile, cmsSigLabData);
cmsSetHeaderRenderingIntent(hProfile, INTENT_RELATIVE_COLORIMETRIC);
SetTextTags(hProfile, L"gray L-star") cmsCIEXYZ wpxyz; cmsxyY2XYZ(&wpxyz,
WhitePoint); cmsWriteTag(hProfile, cmsSigMediaWhitePointTag, &wpxyz);
cmsToneCurve* tc = cmsBuildGamma(ctx, 1.0); // 1.0 gamma from Lab = L*
???????
cmsWriteTag(hProfile, cmsSigGrayTRCTag, (void*)tc)); cmsFreeToneCurve(tc);




-----Original Message-----
From: Marti Maria [mailto:marti.ma...@littlecms.com]
Sent: Dienstag, 24. Mai 2016 15:50
To: Marco Freudenberger; 'Florian Höch'; lcms-user@lists.sourceforge.net
Subject: RE: [Lcms-user] How to create a gray profile with L-star grey
response?

Right, mark the PCS as Lab and use cmdBuildGamma(NULL, 1.0). You only need
to add the white point and this curve.

Marti Maria
The LittleCMS project
http://www.littlecms.com 

-----Original Message-----
From: Florian Höch [mailto:lists+lcms-u...@hoech.org]
Sent: martes, 24 de mayo de 2016 15:19
To: lcms-user@lists.sourceforge.net
Subject: Re: [Lcms-user] How to create a gray profile with L-star grey
response?

Hi,

Am 24.05.2016 um 15:07 schrieb Marco Freudenberger:
> PS - to the group: I'm still wondering what would happen if I'd simply 
> set
the TransferFunction to NULL...

That would result in a gamma 1.0 response I think (according to the ICC
spec).

Florian.

----------------------------------------------------------------------------
--
Mobile security can be enabling, not merely restricting. Employees who bring
their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the apps
on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to