home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 4 Drivers / 04-Drivers.zip / mtek004.zip / example.gt < prev    next >
Text File  |  1997-04-13  |  4KB  |  127 lines

  1. # mtekscan example gamma table file
  2.  
  3. # (just to explain the format of these files; has the same effect as
  4. # specifying a red gamma of 1.3, green -0.9 (inverted), and blue 0.6
  5. # with the command line option '-G 1.3 -.9 .6').
  6.  
  7. # Basic file structure:
  8. # - Leading spaces in a line, lines with a '#' as the first non-whitespace
  9. #   character, and blank lines are ignored
  10. # - Data must not be followed by whitespaces on the same line,
  11. #   lines must be terminated by a newline
  12. #
  13. # Header information:
  14. # - Each of the following three fields must stand on a seperate line,
  15. #   in this order, terminated by a newline
  16. # - 'GT' on the first line that is not ignored denotes file type
  17. #   (Gamma Table)
  18. # - 'RGB' indiates three separate tables for red/green/blue channel
  19. #   are contained in the file (as opposed to 'C' -> just one table
  20. #   for all three primaries)
  21. # - One line that contains the number of entries per table; valid
  22. #   are 256, 1024, 4096, 65536 (but not all supported by every scanner
  23. #   model)
  24. #
  25. # Data block(s):
  26. # - Data follows in ASCII decimal format, separated by commas; newline
  27. #   characters are optional within one table data block, but R/G/B blocks 
  28. #   must be separated by at least one NL.
  29. # - If the file contains a red, green, and blue table, they must
  30. #   follow in that order
  31.  
  32.  
  33. # HEADER -------------------------------------------------------------------
  34.  
  35. GT
  36.  
  37. RGB
  38.  
  39. 256
  40.  
  41. # DATA (RED) ---------------------------------------------------------------
  42.  
  43. 0,3,6,8,10,12,14,16,17,19,
  44. 21,22,24,25,27,28,30,31,33,34,
  45. 35,37,38,40,41,42,44,45,46,47,
  46. 49,50,51,52,54,55,56,57,58,60,
  47. 61,62,63,64,66,67,68,69,70,71,
  48. 72,73,75,76,77,78,79,80,81,82,
  49. 83,84,85,86,88,89,90,91,92,93,
  50. 94,95,96,97,98,99,100,101,102,103,
  51. 104,105,106,107,108,109,110,111,112,113,
  52. 114,115,116,117,118,119,120,121,122,123,
  53. 124,125,126,126,127,128,129,130,131,132,
  54. 133,134,135,136,137,138,139,140,140,141,
  55. 142,143,144,145,146,147,148,149,150,150,
  56. 151,152,153,154,155,156,157,158,159,159,
  57. 160,161,162,163,164,165,166,166,167,168,
  58. 169,170,171,172,173,173,174,175,176,177,
  59. 178,179,179,180,181,182,183,184,184,185,
  60. 186,187,188,189,190,190,191,192,193,194,
  61. 195,195,196,197,198,199,200,200,201,202,
  62. 203,204,204,205,206,207,208,209,209,210,
  63. 211,212,213,213,214,215,216,217,218,218,
  64. 219,220,221,222,222,223,224,225,226,226,
  65. 227,228,229,230,230,231,232,233,233,234,
  66. 235,236,237,237,238,239,240,241,241,242,
  67. 243,244,244,245,246,247,248,248,249,250,
  68. 251,251,252,253,254,255
  69.  
  70. # DATA (GREEN) -------------------------------------------------------------
  71.  
  72. 255,255,254,254,253,252,252,251,250,249,
  73. 249,248,247,246,245,245,244,243,242,241,
  74. 240,240,239,238,237,236,235,234,234,233,
  75. 232,231,230,229,228,227,227,226,225,224,
  76. 223,222,221,220,219,218,217,217,216,215,
  77. 214,213,212,211,210,209,208,207,206,205,
  78. 204,203,203,202,201,200,199,198,197,196,
  79. 195,194,193,192,191,190,189,188,187,186,
  80. 185,184,183,182,181,180,179,178,177,176,
  81. 175,174,173,172,171,170,169,168,167,166,
  82. 165,164,163,162,161,160,159,158,157,156,
  83. 155,154,153,152,151,150,149,148,147,146,
  84. 145,144,143,142,141,140,139,138,137,136,
  85. 135,134,133,132,131,130,129,128,127,126,
  86. 125,123,122,121,120,119,118,117,116,115,
  87. 114,113,112,111,110,109,108,107,106,105,
  88. 104,103,101,100,99,98,97,96,95,94,
  89. 93,92,91,90,89,88,87,86,84,83,
  90. 82,81,80,79,78,77,76,75,74,73,
  91. 72,71,69,68,67,66,65,64,63,62,
  92. 61,60,59,58,56,55,54,53,52,51,
  93. 50,49,48,47,46,45,43,42,41,40,
  94. 39,38,37,36,35,34,33,31,30,29,
  95. 28,27,26,25,24,23,22,20,19,18,
  96. 17,16,15,14,13,12,10,9,8,7,
  97. 6,5,4,3,2,0
  98.  
  99. # DATA (BLUE) --------------------------------------------------------------
  100.  
  101. 0,0,0,0,0,0,0,0,0,0,
  102. 1,1,1,1,2,2,2,2,3,3,
  103. 3,3,4,4,4,5,5,6,6,6,
  104. 7,7,8,8,8,9,9,10,10,11,
  105. 11,12,12,13,13,14,14,15,15,16,
  106. 16,17,18,18,19,19,20,20,21,22,
  107. 22,23,24,24,25,26,26,27,28,28,
  108. 29,30,30,31,32,33,33,34,35,36,
  109. 36,37,38,39,40,40,41,42,43,44,
  110. 44,45,46,47,48,49,50,50,51,52,
  111. 53,54,55,56,57,58,59,59,60,61,
  112. 62,63,64,65,66,67,68,69,70,71,
  113. 72,73,74,75,76,77,78,79,80,81,
  114. 82,84,85,86,87,88,89,90,91,92,
  115. 93,94,96,97,98,99,100,101,102,104,
  116. 105,106,107,108,110,111,112,113,114,116,
  117. 117,118,119,120,122,123,124,125,127,128,
  118. 129,131,132,133,134,136,137,138,140,141,
  119. 142,144,145,146,148,149,150,152,153,154,
  120. 156,157,158,160,161,163,164,165,167,168,
  121. 170,171,172,174,175,177,178,180,181,183,
  122. 184,185,187,188,190,191,193,194,196,197,
  123. 199,200,202,203,205,206,208,210,211,213,
  124. 214,216,217,219,220,222,224,225,227,228,
  125. 230,232,233,235,236,238,240,241,243,245,
  126. 246,248,250,251,253,255
  127.