I'm trying to create a v4 D65 profile using
cmsCreateProfilePlaceholder() and settings values myself. If I
understand correctly, all v4 profiles have to have a D50 whitepoint
and a 'chad' adaption tag to convert to and from the real whitepoint.
The only way to write the chad seems to be from cmsCreateRGBProfile()
so creating a v4 D65 profile looks basically impossible using
cmsCreateProfilePlaceholder().

Could we perhaps export _cmsAdaptationMatrix(), or perhaps better, if
the profile version is v4 (from cmsSetProfileVersion) and we set a
whitepoint using cmsSigMediaWhitePointTag then this automatically
converts to a D50 whitepoint and updates the chad to reflect reality.

Comments welcome.

Richard.

------------------------------------------------------------------------------
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to