In message <alpine.LNX.2.00.1104041811570.8652@roma.rasena> Kai-Uwe Behrmann <k...@gmx.de> wrote: > One other alternative way to provide the functionality as in your > patch is to add a wrapper around lcms' cmsHTRANSFORM, like > > struct lcms_wrapper { > objectType type; > cmsHTRANSFORM xform; > cmsHPROFILE profile_array[]; > int profile_count; > int intent; > int intent_proofing; > int flags; > ... /* more as you like and need */ > };
I actually started to code it like that, but gave up when I twigged just what a tiny change it was to lcms to allow me to use the existing code. (I didn't write the original code, so the fewer changes I had to make to it the better). If the patch (or something similar) isn't accepted back into lcms then we may well have to look at doing this. Robin -- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user