home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / graphics / gvw_dith / doc / dither_e.doc next >
Text File  |  1993-11-27  |  5KB  |  153 lines

  1. DITHER V1.5:  A program to create dithermatrices for GEMVIEW.
  2. (Nov. 1993)   This program is FREEWARE.
  3.  
  4.  
  5. Author: Alexander Clauss
  6.         Stresemannstr. 44
  7.         64297 Darmstadt
  8.         Germany
  9.  
  10. email: aclauss@rbg.informatik.th-darmstadt.de
  11.  
  12.  
  13.  
  14.  
  15. A short description
  16. -------------------
  17. Rename DITHER.PRG to DITHER.ACC if you want to use it as an accessory.
  18.  
  19.  
  20. Language
  21. --------
  22. LANG\DITHER_G.RSC  German
  23. LANG\DITHER_E.RSC  English
  24.  
  25. If you want to change the language of the programm, replace DITHER.RSC
  26. by one of these files. (Rename it to DITHER.RSC and copy it to the same
  27. location, where you placed DITHER.PRG)
  28.  
  29.  
  30. What's a dithermatrix?
  31. ----------------------
  32. A dithermatrix is an array with 16x16 positions. Each position of
  33. this array contains a value between 0 (black) and 255 (white).
  34. If you use 'ordered-dither' in GEMVIEW, a dithermatrix is used to
  35. convert a colour or greyscale picture into a monochrome picture.
  36. All colours of a picture must be replaced by a combination of black
  37. and white pixels. For each pixel of the picture, GEMVIEW calculates
  38. a value between 0 (black) and 255 (white). This value is compared
  39. to the value of the dithermatrix, that is found at the following
  40. position:
  41.     x_dither = x_picture mod 16
  42.     y_dither = y_picture mod 16.
  43. If the pixel of the picture is darker than the pixel in the matrix,
  44. GEMVIEW converts this pixel to black, otherwise to white.
  45.  
  46.  
  47.  
  48. Mode
  49. ----
  50. Calculate (cyclic) (F1):
  51. ------------------------
  52.     In this mode you can create matrices automatically. After you 
  53.     set some black (left-click) and white (SHIFT+left-click) 
  54.     hotspots, click on the 'Create'-button. Now, the program 
  55.     calculates a matrix (Near black hotspots the matrix will be dark;
  56.     near white hotspots it will be bright).
  57.  
  58. Calculate (bound) (F2):
  59. -----------------------
  60.     In this mode you can create matrices automatically. 
  61.     After defining a boundary, click the 'Create'-button. The program 
  62.     calculates (a part of) the matrix (inside the boundary). 
  63.     In 'Settings'-dialog you can choose, in what way the matrix is
  64.     calculated.
  65.  
  66. Calculate (distribute) (F3):
  67. ----------------------------
  68.     In this mode you can create matrices automatically. 
  69.     Click 'Create' to calculate the matrix. The only way to get
  70.     different matrices is, to select a different number of colors
  71.     in 'Settings'-dialog.
  72.  
  73. 256 shades (F4): 
  74. ----------------
  75.     The dithermatrix is displayed with all 256 colours (black..grey
  76.     ..white). In this mode, it is easy to edit the matrix, but it
  77.     is difficult to realize, how a special colour looks like, if it
  78.     is transformed with the matrix.
  79.  
  80. Black & white (F5):
  81. -------------------  
  82.     In this mode, it is easy to realize, how the current colour 
  83.     (set by the slider) looks like, but editing is difficult.
  84.     All black and dark grey pixels are set, white and light grey
  85.     pixels aren't set (in the current colour).
  86.     White pixels aren't defined yet (equivalent to colour 0=black).
  87.     Black pixels are pixels in the current colour.
  88.  
  89. Test (F6):
  90. ----------
  91.     Shows the effect of the matrix on all 256 colours.
  92.   
  93.  
  94.  
  95. Settings:
  96. ---------
  97. The settings in this dialog are only related to the calculation of
  98. matrices.
  99. 'Number of colors': maximum number of colors in calculated matrices.
  100.  
  101. Only for 'Calculate (bound)':
  102. 'Direction'
  103. 'Black (0)': The color black is used on this side of the boundary
  104.              (white is used on the opposite side).
  105.  
  106. Great array (dithermatrix)
  107. --------------------------
  108. While pressing the left mousebutton, you set pixels in the current
  109. colour (0..255) (mode: '256 shades' and 'black&white') or you set/
  110. remove hotspots (mode: 'calculate'). 
  111.  
  112. With a doubleclick on a pixel, you set the current colour to the 
  113. value of that pixel.
  114.  
  115.  
  116. Slider 
  117. ------
  118. The Slider sets the current colour (0=black..light grey..dark grey
  119. ..255=white).
  120. The keys '+' and '-' increases/decreases this value, too.
  121.  
  122.  
  123.  
  124. Tools/Brightness (ALT-B)
  125. ------------------------
  126. You can change the brightness and contrast of the matrix.
  127.  
  128.  
  129. Tools/Reflect (ALT-H, ALT-V)
  130. ----------------------------
  131. The matrix can be reflected horizontally or vertically.
  132.  
  133.  
  134. Tools/Rotate (ALT-M, ALT-N)
  135. ---------------------------
  136. You can rotate the matrix.
  137.  
  138.  
  139.  
  140. Create (CTRL-D)
  141. ---------------
  142. In 'Calculate'-mode the program calculates a martix. You had to set at 
  143. least one hotspot (max. 64 black and/or white hotspots are possible).
  144.  
  145.  
  146. Undo (UNDO)
  147. Erase (CTRL-E),
  148. Load (CTRL-O),
  149. Save (CTRL-S),
  150. Quit (RETURN,ENTER,CTRL-Q)
  151. --------------------------
  152. Need no explanation, I think.
  153.