On 01/09/2014 22:18, marti.ma...@littlecms.com wrote: > > > Then comes the issue with the internal header. You should not need > this to read the number of nodes. > > _cmsStageCLutData is defined in the plug-in API, which is a sort of "I > want to bypass the logic of the CMM and deal with profile internals" > which is ok and exactly what you want to do. > > So, after you get a pointer to the CLUT stage, you could use > cmsStageData() to get this data. One single cast to a struct defined > in the plugin API and no internal functions. > > Instead of: > > stage_intern = (struct _cmsStage_struct *) stage; > clut = (_cmsStageCLutData *) stage_intern->Data; > > you can use : > > clut = (_cmsStageCLutData *) cmsStageData(stage); > > > Actually, this is a bug in the documentation as this function is not > documented and it should. > > Thanks for pointing out.
That's exactly what I needed. I knew it was probably there, but couldn't find cmsStageData() in the header. Many thanks. John ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user