Am 08.11.2011 23:12, schrieb Richard Hughes: > On 8 November 2011 21:47, Graeme Gill<gra...@argyllcms.com> wrote: >> My interpretation of the CGATS spec. was that it was permissible >> to include more than one table in the same file. Since there >> was nothing to cross validate against, it was hard to be sure >> about the exact details (the spec. is rather vague in some >> ways), but in any case, this is now something that several >> Argyll CGATS based file formats depends upon. > > Sure, I don't disagree there, it makes sense. The hard part is > scanning for an end-of-table marker, although just using END_DATA > would cover 99% of cases.
Another solution might be to recognize the start of a new table. CGATS table identifiers are 7 characters long afaik, which is the case with Argyll (it uses padding with spaces at the end eg. "CTI1 " to reach the required length). -- Florian Höch ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user