Klaus Karcher wrote:
but COLOR_REP is still "RGB_XYZ" (should be "XYZ_RGB" for input devices)
looks like COLOR_REP is reversed. See patch. Klaus
--- profile/txt2ti3_graeme_19Okt10.c 2010-10-19 10:40:36.000000000 +0200 +++ profile/txt2ti3.c 2010-10-19 10:43:19.000000000 +0200 @@ -467,7 +467,7 @@ ocg->add_field(ocg, 0, "RGB_R", r_t); ocg->add_field(ocg, 0, "RGB_G", r_t); ocg->add_field(ocg, 0, "RGB_B", r_t); - if (inp) { + if (!inp) { if (islab) ocg->add_kword(ocg, 0, "COLOR_REP","RGB_LAB", NULL); else @@ -483,7 +483,7 @@ ocg->add_field(ocg, 0, "CMYK_M", r_t); ocg->add_field(ocg, 0, "CMYK_Y", r_t); ocg->add_field(ocg, 0, "CMYK_K", r_t); - if (inp) { /* Does this make any sense ? */ + if (!inp) { /* Does this make any sense ? */ if (islab) ocg->add_kword(ocg, 0, "COLOR_REP","LAB_CMYK", NULL); else