home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / crm_demo / chagall / dither / doc / dither_e.doc next >
Text File  |  1993-11-02  |  4KB  |  133 lines

  1. DITHER V1.3:  A program to create dithermatrices for GEMVIEW.
  2. (Oct. 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. 256 shades (F2): 
  51. ----------------
  52.     The dithermatrix is displayed with all 256 colours (black..grey
  53.     ..white). In this mode, it is easy to edit the matrix, but it
  54.     is difficult to realize, how a special colour looks like, if it
  55.     is transformed with the matrix.
  56.  
  57. Black & white (F3):
  58. -------------------  
  59.     In this mode, it is easy to realize, how the current colour 
  60.     (set by the slider) looks like, but editing is difficult.
  61.     All black and dark grey pixels are set, white and light grey
  62.     pixels aren't set (in the current colour).
  63.     White pixels aren't defined yet (equivalent to colour 0=black).
  64.     Black pixels are pixels in the current colour.
  65.  
  66. Calculate (F1):
  67. ---------------
  68.     In this mode you can create matrices automatically. After you 
  69.     set some black (left-click) and white (SHIFT+left-click) 
  70.     hotspots, click on the 'Create'-button. Now, the program 
  71.     calculates a matrix (Near black hotspots the matrix will be dark;
  72.     near white hotspots it will be bright).
  73.  
  74. Test (F4):
  75. ----------
  76.     Shows the effect of the matrix on all 256 colours.
  77.   
  78.  
  79.  
  80.  
  81. Great array (dithermatrix)
  82. --------------------------
  83. While pressing the left mousebutton, you set pixels in the current
  84. colour (0..255) (mode: '256 shades' and 'black&white') or you set/
  85. remove hotspots (mode: 'calculate'). 
  86.  
  87. With a doubleclick on a pixel, you set the current colour to the 
  88. value of that pixel.
  89.  
  90.  
  91. Slider 
  92. ------
  93. The Slider sets the current colour (0=black..light grey..dark grey
  94. ..255=white).
  95. The keys '+' and '-' increases/decreases this value, too.
  96.  
  97.  
  98. Tools/Brightness (ALT-B)
  99. ------------------------
  100. If you convert a picture with the new matrix (brightness changed), 
  101. it is getting brighter (positive values) or darker (negative values) 
  102. now.
  103. In 'Test'-mode you will see the effect best.
  104.  
  105. Note: To the matrix itself (in '256 shades' or 'Calculate'-mode), 
  106. this has the opposite effect.
  107.  
  108.  
  109. Tools/Reflect (ALT-H, ALT-V)
  110. ----------------------------
  111. The matrix can be reflected horizontally or vertically.
  112.  
  113.  
  114. Tools/Rotate (ALT-M, ALT-N)
  115. ---------------------------
  116. You can rotate the matrix.
  117.  
  118.  
  119.  
  120. Create (CTRL-D)
  121. ---------------
  122. In 'Calculate'-mode the program calculates a martix. You had to set at 
  123. least one hotspot (max. 64 black and/or white hotspots are possible).
  124.  
  125.  
  126. Undo (UNDO)
  127. Erase (CTRL-E),
  128. Load (CTRL-O),
  129. Save (CTRL-S),
  130. Quit (RETURN,ENTER,CTRL-Q)
  131. --------------------------
  132. Need no explanation, I think.
  133.