Ups, sorry, didn't see the 2nd question. > LPcmsSEQ is no more present. Did the 'pseq' generation change? Does lcms2 > generate a valid 'pseq' tag for device link profiles? If not how is cmsSEQ
Any LP* are gone, because it is difficult to specify "const" on such typedefs. Just use cmsSEQ* and cmsWriteTag() instead on cmsAddTag() Yes, lcms2 does generate a valid sequence as long as you use cmsFLAGS_KEEP_SEQUENCE when creating the transform. This flag is needed because generating the sequence may take resources, just imagine 20 profiles, each one with multiple localizations joined together. The sequence should keep all localizations on all profiles, and this may easely take lots of memory and long time to generate. Profile sequences are a little bit more complex in 2.0 since ICC introduced a new tag, the profile sequence ID, which is not supported in lcms 1. Now I use cmsSEQ structure for holding both tags, cmsProfileSequenceDescTag and cmsProfileSequenceIdTag as there is a correspondence between them. To write those tags, just use cmsWriteTag() with a pointer on cmsSEQ structure.To read them, call cmsReadTag. Each tags fills part of the cmsSEQ, so you have to read both and then combine the results. There is a function cmsReadProfileSequence() intended to be available on 2.1, it can combine both tags in a single cmsSEQ. It is already implemented, but still not exposed to API. Yo can take a look, just search for _cmsReadProfileSequence() Regards Marti ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user