I would like to check if a Lab color is within an ICC profile's gamut. 
For this I create a proofing transform, but I get an error "Couldn't 
link the profiles". I create the transform like this:

cmsCreateProofingTransform(cmsCreateLab4Profile(), TYPE_Lab_DBL, 
outProfile, TYPE_RGB_DBL, cmsCreateNULLProfile(), 
INTENT_RELATIVE_COLORIMETRIC, INTENT_ABSOLUTE_COLORIMETRIC, 
cmsFLAGS_GAMUTCHECK | cmsFLAG_SOFTPROOFING);

When I create a normal transform from the custom Lab and the outProfile 
(loaded from an ICC profile file), the conversion works perfectly. I set 
the alarm codes to 0xffff before creating a proofing transform.

What am I doing wrong? Another question about out of gamut values, is 
there a way to get unbounded results from a transform (or multi profile 
transform) so I could check if the colour is out of gamut when RGB 
values are smaller than zero and bigger than 1, without the need of a 
proofing profile? Thank you.
Regards,


Martin

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to