Re: [Lcms-user] Consider exporting _cmsAdaptationMatrix()

2014-04-04 Thread Marti . maria
Hi Richard, I'm trying to create a v4 D65 profile using cmsCreateProfilePlaceholder() and settings values myself. Fine. 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. Well, this only applies

Re: [Lcms-user] Consider exporting _cmsAdaptationMatrix()

2014-04-04 Thread Richard Hughes
On 4 April 2014 22:28, marti.ma...@littlecms.com wrote: Why? You can just do something like: cmsMAT3 Matrix = {...}; cmsWriteTag(hProfile, cmsSigChromaticAdaptationTag, (void*) Matrix); Ahh, I didn't know I could do this. This works fine on profiles allocated by