Am 24.01.2014 14:27, schrieb Elle Stone: > How do you specify *nix as the platform when making an ICC profile?
cmsSigUnices is already defined in lcms2.h. It looks like lcms has no API to set all header flags. You might try the IccXML tools, which are pretty handy for such low level tasks. As a workaround one can easily map the whole profile to the cmsICCHeader structure and do the appropriate byte swapping during writing into the platform field. void * profile = create_icc(); cmsICCHeader * header = (cmsICCHeader*)profile; header->platform = htonl( cmsSigUnices ); kind regards Kai-Uwe ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user