Re: [Lcms-user] Problem reading in ti1 files
An ICC-based CMM for color management
Brought to you by:
mm2
From: Florian H. <lis...@ho...> - 2011-11-08 22:48:57
|
Am 08.11.2011 23:12, schrieb Richard Hughes: > On 8 November 2011 21:47, Graeme Gill<gr...@ar...> 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 |