Thanks for the info. This tells me the current behavior is correct (no black point) and the old behavior was incorrect when I was getting a black point.
On Fri, 2013-09-27 at 10:11 +0200, Marti Maria wrote: > Hi Adam, > > 2.5 is fully implementing the ICC document on black point > compensation, and this document specifically states that > XYZ color model is not supported. > > http://color.org/events/ISO_18619_ICC_Draft.zip > > See 4.1 "This definition of black point compensation is > only defined for the colour spaces Gray, RGB, CMYK > and CIELAB." > > Anyway, black point make sense only for devices, and this > profile is only a identity to access XYZPCS. What you would > get if supported, would be zero on rel.col and perceptual > black in perceptual intent, as this is a V4 profile. > > Regards > Marti > > El 24/09/2013 22:30, Adam Stein escribió: > > 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