Thanks Klaus, so, if I understand correctly, my .ti2 has lines such as: KEYWORD "SAMPLE_LOC" NUMBER_OF_FIELDS 8 BEGIN_DATA_FORMAT SAMPLE_ID SAMPLE_LOC RGB_R RGB_G RGB_B XYZ_X XYZ_Y XYZ_Z END_DATA_FORMAT NUMBER_OF_SETS 240 BEGIN_DATA 1 "K11" 100.00 100.00 100.00 95.106 100.00 108.84 2 "I15" 100.00 100.00 100.00 95.106 100.00 108.84 3 "G13" 100.00 100.00 100.00 95.106 100.00 108.84 4 "L10" 100.00 100.00 100.00 95.106 100.00 108.84 5 "E2" 20.784 30.980 58.824 10.700 9.4305 30.884 [...] the output .ti3 will have the same RGB_R, RGB_G, and RGB_B, but would have instead of the XYZ values the Lab ones. and a header such as: KEYWORD "SAMPLE_NAME" NUMBER_OF_FIELDS 8 BEGIN_DATA_FORMAT SAMPLE_ID SAMPLE_LOC RGB_R RGB_G RGB_B LAB_L LAB_A LAB_B END_DATA_FORMAT NUMBER_OF_SETS 240 BEGIN_DATA 1 "K11" 100.00 100.00 100.00 <LabL> <LabA> <LabC> 2 "I15" 100.00 100.00 100.00 <LabL> <LabA> <LabC> I just have to make sure that the lab values I read match the positions of the ti2 (no1 is in position K11 in my read Lab values). ---daniel On Sat, Nov 27, 2010 at 2:26 AM, Klaus Karcher <lists@xxxxxxxxxxxxxxxxx> wrote: > dmg wrote: >> >> Where can I find an example file that txt2ti3 reads? That would help >> me understand what txt2ti3 is doing (and potentially modify it >> for converting simple lab readings into a ti3). > > here are some rather minimalistic examples. > > You can try them with > > txt2ti3 test-combined.txt testcomb > txt2ti3 test-CMYK.txt test-XYZ.txt testxyz > txt2ti3 test-CMYK.txt test-LAB.txt testlab > > Klaus > -- --dmg --- Daniel M. German http://turingmachine.org