Using LCMS v2.5, I have the following:

cmsHPROFILE profile = cmsCreateXYZProfile();
cmsUInt32Number intent = cmsGetHeaderRenderingIntent(profile);

cmsCIEXYZ black_point;
cmsBool status = cmsDetectBlackPoint(&black_point, profile, intent, 0);

I first created and ran this on Fedora 17 and compiled LCMS v2.5 myself.
This resulted in status = True and black_point.X = 0.00336,
black_point.Y = 0.003473, and black_point.Z = 0.002870.

I've since upgraded to Fedora 19.  Still compile the same LCMS code, but
now MY code fails when calling cmsDetectBlackPoint() (status = False,
that is, status equals 0).

I can detect a black point from cmsCreatesRGBProfile(), but not XYZ.
Should I be able to detect a black point for XYZ or was the behavior
incorrect before?

-- 
Adam (a...@csh.rit.edu)



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&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