Hi,

>Hi, which of the following should give more accurate results (I don't care 
>about speed) ?

They are not same. First one, using cmsCreateTransform() is doing a 
transformation from XYZ to an RGB profile. The second is emulating which 
would be the appearance of first, when viewed under a device characterized 
by the same profile as the destination. Inside gamut all should be same, but 
on gamut boundaries some values may change. Hence, you got slightly 
different values in same zones. With this one you can control which values 
are out of gamut, thought.

I guess you just want the first one, which is the most accurate.. For 
controlling accuracy vs. speed there are some flags. You have already 
choosen cmsFLAGS_NOTPRECALC which turns to be the most 
accurate ands slow.

Regards,
Marti Maria
The little cms project
http://www.littlecms.com


----- Original Message ----- 
From: "Louis Solomon [SteelBytes]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 27, 2004 7:23 AM
Subject: [Lcms-user] accuracy ...


Hi, which of the following should give more accurate results (I don't care 
about speed) ?
I am guessing cmsCreateTransform(), and yes I do get different results for 
some input XYZs, altough not very different.

 cmsHTRANSFORM trans_XYZ_to_customRGB = cmsCreateTransform(
  profile_XYZ,TYPE_XYZ_DBL,
  profile_customRGB,TYPE_RGB_DBL,
  INTENT_ABSOLUTE_COLORIMETRIC,
  cmsFLAGS_NOTPRECALC);

 cmsHTRANSFORM trans_XYZ_to_customRGB_withgamutcheck = 
cmsCreateProofingTransform(
  profile_XYZ,TYPE_XYZ_DBL,
  profile_customRGB,TYPE_RGB_DBL,
  profile_customRGB,
  INTENT_ABSOLUTE_COLORIMETRIC,INTENT_ABSOLUTE_COLORIMETRIC,
  cmsFLAGS_NOTPRECALC|cmsFLAGS_SOFTPROOFING|cmsFLAGS_GAMUTCHECK);

Louis Solomon
www.steelbytes.com




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to