_cmsIOPrintf 171 include/lcms2_plugin.h CMSAPI cmsBool CMSEXPORT _cmsIOPrintf(cmsIOHANDLER* io, const char* frm, ...); _cmsIOPrintf 316 src/cmsps2.c _cmsIOPrintf(m, "%02x", b); _cmsIOPrintf 321 src/cmsps2.c _cmsIOPrintf(m, "\n"); _cmsIOPrintf 363 src/cmsps2.c _cmsIOPrintf(m, "%%!PS-Adobe-3.0\n"); _cmsIOPrintf 364 src/cmsps2.c _cmsIOPrintf(m, "%%\n"); _cmsIOPrintf 365 src/cmsps2.c _cmsIOPrintf(m, "%% %s\n", Title); _cmsIOPrintf 366 src/cmsps2.c _cmsIOPrintf(m, "%% Source: %s\n", RemoveCR(DescASCII)); _cmsIOPrintf 367 src/cmsps2.c _cmsIOPrintf(m, "%% %s\n", RemoveCR(CopyrightASCII)); _cmsIOPrintf 368 src/cmsps2.c _cmsIOPrintf(m, "%% Created: %s", ctime(&timer)); // ctime appends a \n!!! _cmsIOPrintf 369 src/cmsps2.c _cmsIOPrintf(m, "%%\n"); _cmsIOPrintf 370 src/cmsps2.c _cmsIOPrintf(m, "%%%%BeginResource\n"); _cmsIOPrintf 382 src/cmsps2.c _cmsIOPrintf(m, "/BlackPoint [%f %f %f]\n", BlackPoint -> X, _cmsIOPrintf 386 src/cmsps2.c _cmsIOPrintf(m, "/WhitePoint [%f %f %f]\n", cmsD50_XYZ()->X, _cmsIOPrintf 395 src/cmsps2.c _cmsIOPrintf(m, "dup 0.0 lt { pop 0.0 } if " _cmsIOPrintf 417 src/cmsps2.c _cmsIOPrintf(m, "/RenderingIntent (%s)\n", intent ); _cmsIOPrintf 447 src/cmsps2.c _cmsIOPrintf(m, "/RangeABC [ 0 1 0 1 0 1]\n"); _cmsIOPrintf 448 src/cmsps2.c _cmsIOPrintf(m, "/DecodeABC [\n"); _cmsIOPrintf 449 src/cmsps2.c _cmsIOPrintf(m, "{100 mul 16 add 116 div } bind\n"); _cmsIOPrintf 450 src/cmsps2.c _cmsIOPrintf(m, "{255 mul 128 sub 500 div } bind\n"); _cmsIOPrintf 451 src/cmsps2.c _cmsIOPrintf(m, "{255 mul 128 sub 200 div } bind\n"); _cmsIOPrintf 452 src/cmsps2.c _cmsIOPrintf(m, "]\n"); _cmsIOPrintf 453 src/cmsps2.c _cmsIOPrintf(m, "/MatrixABC [ 1 1 1 1 0 0 0 0 -1]\n"); _cmsIOPrintf 454 src/cmsps2.c _cmsIOPrintf(m, "/RangeLMN [ -0.236 1.254 0 1 -0.635 1.640 ]\n"); _cmsIOPrintf 455 src/cmsps2.c _cmsIOPrintf(m, "/DecodeLMN [\n"); _cmsIOPrintf 456 src/cmsps2.c _cmsIOPrintf(m, "{dup 6 29 div ge {dup dup mul mul} {4 29 div sub 108 841 div mul} ifelse 0.964200 mul} bind\n"); _cmsIOPrintf 457 src/cmsps2.c _cmsIOPrintf(m, "{dup 6 29 div ge {dup dup mul mul} {4 29 div sub 108 841 div mul} ifelse } bind\n"); _cmsIOPrintf 458 src/cmsps2.c _cmsIOPrintf(m, "{dup 6 29 div ge {dup dup mul mul} {4 29 div sub 108 841 div mul} ifelse 0.824900 mul} bind\n"); _cmsIOPrintf 459 src/cmsps2.c _cmsIOPrintf(m, "]\n"); _cmsIOPrintf 482 src/cmsps2.c _cmsIOPrintf(m, "{ %g exp } bind ", gamma); _cmsIOPrintf 486 src/cmsps2.c _cmsIOPrintf(m, "{ "); _cmsIOPrintf 496 src/cmsps2.c _cmsIOPrintf(m, " ["); _cmsIOPrintf 499 src/cmsps2.c _cmsIOPrintf(m, "%d ", Table->Table16[i]); _cmsIOPrintf 502 src/cmsps2.c _cmsIOPrintf(m, "] "); // v tab _cmsIOPrintf 504 src/cmsps2.c _cmsIOPrintf(m, "dup "); // v tab tab _cmsIOPrintf 505 src/cmsps2.c _cmsIOPrintf(m, "length 1 sub "); // v tab dom _cmsIOPrintf 506 src/cmsps2.c _cmsIOPrintf(m, "3 -1 roll "); // tab dom v _cmsIOPrintf 507 src/cmsps2.c _cmsIOPrintf(m, "mul "); // tab val2 _cmsIOPrintf 508 src/cmsps2.c _cmsIOPrintf(m, "dup "); // tab val2 val2 _cmsIOPrintf 509 src/cmsps2.c _cmsIOPrintf(m, "dup "); // tab val2 val2 val2 _cmsIOPrintf 510 src/cmsps2.c _cmsIOPrintf(m, "floor cvi "); // tab val2 val2 cell0 _cmsIOPrintf 511 src/cmsps2.c _cmsIOPrintf(m, "exch "); // tab val2 cell0 val2 _cmsIOPrintf 512 src/cmsps2.c _cmsIOPrintf(m, "ceiling cvi "); // tab val2 cell0 cell1 _cmsIOPrintf 513 src/cmsps2.c _cmsIOPrintf(m, "3 index "); // tab val2 cell0 cell1 tab _cmsIOPrintf 514 src/cmsps2.c _cmsIOPrintf(m, "exch "); // tab val2 cell0 tab cell1 _cmsIOPrintf 515 src/cmsps2.c _cmsIOPrintf(m, "get "); // tab val2 cell0 y1 _cmsIOPrintf 516 src/cmsps2.c _cmsIOPrintf(m, "4 -1 roll "); // val2 cell0 y1 tab _cmsIOPrintf 517 src/cmsps2.c _cmsIOPrintf(m, "3 -1 roll "); // val2 y1 tab cell0 _cmsIOPrintf 518 src/cmsps2.c _cmsIOPrintf(m, "get "); // val2 y1 y0 _cmsIOPrintf 519 src/cmsps2.c _cmsIOPrintf(m, "dup "); // val2 y1 y0 y0 _cmsIOPrintf 520 src/cmsps2.c _cmsIOPrintf(m, "3 1 roll "); // val2 y0 y1 y0 _cmsIOPrintf 521 src/cmsps2.c _cmsIOPrintf(m, "sub "); // val2 y0 (y1-y0) _cmsIOPrintf 522 src/cmsps2.c _cmsIOPrintf(m, "3 -1 roll "); // y0 (y1-y0) val2 _cmsIOPrintf 523 src/cmsps2.c _cmsIOPrintf(m, "dup "); // y0 (y1-y0) val2 val2 _cmsIOPrintf 524 src/cmsps2.c _cmsIOPrintf(m, "floor cvi "); // y0 (y1-y0) val2 floor(val2) _cmsIOPrintf 525 src/cmsps2.c _cmsIOPrintf(m, "sub "); // y0 (y1-y0) rest _cmsIOPrintf 526 src/cmsps2.c _cmsIOPrintf(m, "mul "); // y0 t1 _cmsIOPrintf 527 src/cmsps2.c _cmsIOPrintf(m, "add "); // y _cmsIOPrintf 528 src/cmsps2.c _cmsIOPrintf(m, "65535 div "); // result _cmsIOPrintf 530 src/cmsps2.c _cmsIOPrintf(m, " } bind "); _cmsIOPrintf 556 src/cmsps2.c _cmsIOPrintf(m, "dup "); _cmsIOPrintf 620 src/cmsps2.c _cmsIOPrintf(sc ->m, sc ->PostMin); _cmsIOPrintf 622 src/cmsps2.c _cmsIOPrintf(sc ->m, sc ->PostMaj); _cmsIOPrintf 628 src/cmsps2.c _cmsIOPrintf(sc ->m, sc ->PreMaj); _cmsIOPrintf 637 src/cmsps2.c _cmsIOPrintf(sc ->m, sc ->PostMin); _cmsIOPrintf 640 src/cmsps2.c _cmsIOPrintf(sc ->m, sc ->PreMin); _cmsIOPrintf 686 src/cmsps2.c _cmsIOPrintf(m, "["); _cmsIOPrintf 689 src/cmsps2.c _cmsIOPrintf(m, " %d ", sc.Pipeline->Params->nSamples[i]); _cmsIOPrintf 691 src/cmsps2.c _cmsIOPrintf(m, " [\n"); _cmsIOPrintf 695 src/cmsps2.c _cmsIOPrintf(m, PostMin); _cmsIOPrintf 696 src/cmsps2.c _cmsIOPrintf(m, PostMaj); _cmsIOPrintf 697 src/cmsps2.c _cmsIOPrintf(m, "] "); _cmsIOPrintf 708 src/cmsps2.c _cmsIOPrintf(m, "[ /CIEBasedA\n"); _cmsIOPrintf 709 src/cmsps2.c _cmsIOPrintf(m, " <<\n"); _cmsIOPrintf 711 src/cmsps2.c _cmsIOPrintf(m, "/DecodeA "); _cmsIOPrintf 715 src/cmsps2.c _cmsIOPrintf(m, " \n"); _cmsIOPrintf 717 src/cmsps2.c _cmsIOPrintf(m, "/MatrixA [ 0.9642 1.0000 0.8249 ]\n"); _cmsIOPrintf 718 src/cmsps2.c _cmsIOPrintf(m, "/RangeLMN [ 0.0 0.9642 0.0 1.0000 0.0 0.8249 ]\n"); _cmsIOPrintf 723 src/cmsps2.c _cmsIOPrintf(m, ">>\n"); _cmsIOPrintf 724 src/cmsps2.c _cmsIOPrintf(m, "]\n"); _cmsIOPrintf 737 src/cmsps2.c _cmsIOPrintf(m, "[ /CIEBasedABC\n"); _cmsIOPrintf 738 src/cmsps2.c _cmsIOPrintf(m, "<<\n"); _cmsIOPrintf 739 src/cmsps2.c _cmsIOPrintf(m, "/DecodeABC [ "); _cmsIOPrintf 743 src/cmsps2.c _cmsIOPrintf(m, "]\n"); _cmsIOPrintf 745 src/cmsps2.c _cmsIOPrintf(m, "/MatrixABC [ " ); _cmsIOPrintf 749 src/cmsps2.c _cmsIOPrintf(m, "%.6f %.6f %.6f ", Matrix[i + 3*0], _cmsIOPrintf 755 src/cmsps2.c _cmsIOPrintf(m, "]\n"); _cmsIOPrintf 757 src/cmsps2.c _cmsIOPrintf(m, "/RangeLMN [ 0.0 0.9642 0.0 1.0000 0.0 0.8249 ]\n"); _cmsIOPrintf 762 src/cmsps2.c _cmsIOPrintf(m, ">>\n"); _cmsIOPrintf 763 src/cmsps2.c _cmsIOPrintf(m, "]\n"); _cmsIOPrintf 783 src/cmsps2.c _cmsIOPrintf(m, "[ /CIEBasedDEF\n"); _cmsIOPrintf 789 src/cmsps2.c _cmsIOPrintf(m, "[ /CIEBasedDEFG\n"); _cmsIOPrintf 800 src/cmsps2.c _cmsIOPrintf(m, "<<\n"); _cmsIOPrintf 804 src/cmsps2.c _cmsIOPrintf(m, "/DecodeDEF [ "); _cmsIOPrintf 806 src/cmsps2.c _cmsIOPrintf(m, "]\n"); _cmsIOPrintf 813 src/cmsps2.c _cmsIOPrintf(m, "/Table "); _cmsIOPrintf 815 src/cmsps2.c _cmsIOPrintf(m, "]\n"); _cmsIOPrintf 822 src/cmsps2.c _cmsIOPrintf(m, " >>\n"); _cmsIOPrintf 823 src/cmsps2.c _cmsIOPrintf(m, "]\n"); _cmsIOPrintf 1010 src/cmsps2.c _cmsIOPrintf(m, "<<\n"); _cmsIOPrintf 1011 src/cmsps2.c _cmsIOPrintf(m, "(colorlistcomment) (%s)\n", "Named color CSA"); _cmsIOPrintf 1012 src/cmsps2.c _cmsIOPrintf(m, "(Prefix) [ (Pantone ) (PANTONE ) ]\n"); _cmsIOPrintf 1013 src/cmsps2.c _cmsIOPrintf(m, "(Suffix) [ ( CV) ( CVC) ( C) ]\n"); _cmsIOPrintf 1029 src/cmsps2.c _cmsIOPrintf(m, " (%s) [ %.3f %.3f %.3f ]\n", ColorName, Lab.L, Lab.a, Lab.b); _cmsIOPrintf 1034 src/cmsps2.c _cmsIOPrintf(m, ">>\n"); _cmsIOPrintf 1189 src/cmsps2.c _cmsIOPrintf(m,"/MatrixPQR [1 0 0 0 1 0 0 0 1 ]\n"); _cmsIOPrintf 1190 src/cmsps2.c _cmsIOPrintf(m,"/RangePQR [ -0.5 2 -0.5 2 -0.5 2 ]\n"); _cmsIOPrintf 1192 src/cmsps2.c _cmsIOPrintf(m, "%% Absolute colorimetric -- encode to relative to maximize LUT usage\n" _cmsIOPrintf 1202 src/cmsps2.c _cmsIOPrintf(m,"%% Bradford Cone Space\n" _cmsIOPrintf 1205 src/cmsps2.c _cmsIOPrintf(m, "/RangePQR [ -0.5 2 -0.5 2 -0.5 2 ]\n"); _cmsIOPrintf 1212 src/cmsps2.c _cmsIOPrintf(m, "%% VonKries-like transform in Bradford Cone Space\n" _cmsIOPrintf 1221 src/cmsps2.c _cmsIOPrintf(m, "%% VonKries-like transform in Bradford Cone Space plus BPC\n" _cmsIOPrintf 1224 src/cmsps2.c _cmsIOPrintf(m, "{4 index 3 get div 2 index 3 get mul " _cmsIOPrintf 1230 src/cmsps2.c _cmsIOPrintf(m, "{4 index 4 get div 2 index 4 get mul " _cmsIOPrintf 1236 src/cmsps2.c _cmsIOPrintf(m, "{4 index 5 get div 2 index 5 get mul " _cmsIOPrintf 1251 src/cmsps2.c _cmsIOPrintf(m, "/RangeLMN [ -0.635 2.0 0 2 -0.635 2.0 ]\n"); _cmsIOPrintf 1252 src/cmsps2.c _cmsIOPrintf(m, "/EncodeLMN [\n"); _cmsIOPrintf 1253 src/cmsps2.c _cmsIOPrintf(m, "{ 0.964200 div dup 0.008856 le {7.787 mul 16 116 div add}{1 3 div exp} ifelse } bind\n"); _cmsIOPrintf 1254 src/cmsps2.c _cmsIOPrintf(m, "{ 1.000000 div dup 0.008856 le {7.787 mul 16 116 div add}{1 3 div exp} ifelse } bind\n"); _cmsIOPrintf 1255 src/cmsps2.c _cmsIOPrintf(m, "{ 0.824900 div dup 0.008856 le {7.787 mul 16 116 div add}{1 3 div exp} ifelse } bind\n"); _cmsIOPrintf 1256 src/cmsps2.c _cmsIOPrintf(m, "]\n"); _cmsIOPrintf 1257 src/cmsps2.c _cmsIOPrintf(m, "/MatrixABC [ 0 1 0 1 -1 1 0 0 -1 ]\n"); _cmsIOPrintf 1258 src/cmsps2.c _cmsIOPrintf(m, "/EncodeABC [\n"); _cmsIOPrintf 1261 src/cmsps2.c _cmsIOPrintf(m, "{ 116 mul 16 sub 100 div } bind\n"); _cmsIOPrintf 1262 src/cmsps2.c _cmsIOPrintf(m, "{ 500 mul 128 add 256 div } bind\n"); _cmsIOPrintf 1263 src/cmsps2.c _cmsIOPrintf(m, "{ 200 mul 128 add 256 div } bind\n"); _cmsIOPrintf 1266 src/cmsps2.c _cmsIOPrintf(m, "]\n"); _cmsIOPrintf 1335 src/cmsps2.c _cmsIOPrintf(m, "<<\n"); _cmsIOPrintf 1336 src/cmsps2.c _cmsIOPrintf(m, "/ColorRenderingType 1\n"); _cmsIOPrintf 1356 src/cmsps2.c _cmsIOPrintf(m, "/RenderTable "); _cmsIOPrintf 1361 src/cmsps2.c _cmsIOPrintf(m, " %d {} bind ", nChannels); _cmsIOPrintf 1364 src/cmsps2.c _cmsIOPrintf(m, "dup "); _cmsIOPrintf 1366 src/cmsps2.c _cmsIOPrintf(m, "]\n"); _cmsIOPrintf 1371 src/cmsps2.c _cmsIOPrintf(m, ">>\n"); _cmsIOPrintf 1375 src/cmsps2.c _cmsIOPrintf(m, "/Current exch /ColorRendering defineresource pop\n"); _cmsIOPrintf 1432 src/cmsps2.c _cmsIOPrintf(m, "<<\n"); _cmsIOPrintf 1433 src/cmsps2.c _cmsIOPrintf(m, "(colorlistcomment) (%s) \n", "Named profile"); _cmsIOPrintf 1434 src/cmsps2.c _cmsIOPrintf(m, "(Prefix) [ (Pantone ) (PANTONE ) ]\n"); _cmsIOPrintf 1435 src/cmsps2.c _cmsIOPrintf(m, "(Suffix) [ ( CV) ( CVC) ( C) ]\n"); _cmsIOPrintf 1451 src/cmsps2.c _cmsIOPrintf(m, " (%s) [ %s ]\n", ColorName, Colorant); _cmsIOPrintf 1454 src/cmsps2.c _cmsIOPrintf(m, " >>"); _cmsIOPrintf 1458 src/cmsps2.c _cmsIOPrintf(m, " /Current exch /HPSpotTable defineresource pop\n"); _cmsIOPrintf 1503 src/cmsps2.c _cmsIOPrintf(mem, "%%%%EndResource\n"); _cmsIOPrintf 1504 src/cmsps2.c _cmsIOPrintf(mem, "\n%% CRD End\n");