home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CLIPART / MSCAN.ZIP / MSCANSW.DOC < prev    next >
Text File  |  1989-12-15  |  7KB  |  189 lines

  1.  
  2.                                    METASCAN
  3.           TIFF Bitmapped Image -to- Computer Graphics Metafile .CGM
  4.                                   Translator
  5.  
  6.                             - Shareware Version -
  7.                        - Please Register: See Below -
  8.  
  9.                   Copyright 1988-1989 by William J. Hinkle
  10.                                  02 Dec 1989
  11.  
  12.                             === User's Guide === 
  13.  
  14. The MetaScan package was created to allow bitmapped graphics images, such as 
  15. those created by scanners or paint programs (aka, raster images), to be 
  16. converted into ANSI CGM files: Computer Graphics Metafiles.  The package 
  17. comprises three programs: TIF2BIT.EXE, BIT2CGM.EXE, and BITOUT.EXE.  The batch
  18. files TIF2CGM.BAT and TIF2SYM.BAT expedite conversions from TIFF format to CGM 
  19. and Harvard Graphics SYM files, respectively.
  20.  
  21. This is done in a rather straight-forward way: by tracing lines from the 
  22. scanned image into a CGM file.  This allows inclusion of simple scanned images 
  23. by programs that don't handle raster (bit-mapped) images but do handle CGM 
  24. files (like Harvard Graphics, or Freelance+).
  25.  
  26. ==============
  27. COPYRIGHT INFO
  28. ==============
  29. These utility programs and documentation were written by
  30.  
  31. William J. Hinkle
  32.  
  33. Copyright 1989, All Rights Reserved.
  34.  
  35. Copy and use them freely.  Distribute them to whomever you want.  But:
  36.  
  37. === Do not distribute modified versions.
  38. === Do not remove the copyright notice.
  39. === Always distribute these programs together, and with the documentation.
  40.  
  41. =============================
  42. REGISTRATION & SHAREWARE INFO
  43. =============================
  44. If you find MetaScan or its constituent utilities useful, please register
  45. by sending your registration fee of $25.00 to the address below.  A check
  46. or a purchase order for US funds is acceptable.
  47.  
  48. You must register in order to to use the MetaScan utilities beyond a trial
  49. period.  You will receive a written receipt.  Thank you!
  50.  
  51.      William J. Hinkle
  52.      420 E.Boston Mills Rd.
  53.      Hudson, OH 44236-1111
  54.  
  55.  
  56. ============
  57. INSTALLATION
  58. ============
  59. If you are using Harvard Graphics or Freelance, simply make that program's
  60. directory the current DOS directory:
  61.  
  62. cd \HG
  63. or
  64. cd \FL
  65.  
  66. typically.  The same applies if you are planning to use MetaScan with another
  67. such CGM-using program.  If you are installing MetaScan by itself, you may
  68. place it in its own directory:
  69.  
  70. md \MSCAN
  71. cd \MSCAN
  72.  
  73. In either case, imply copy all of the files from the MetaScan diskette to the
  74. current directory:
  75.  
  76. copy A:*.*
  77.  
  78. =========
  79. HOW TO...
  80. =========
  81.  
  82. MetaScan works by first using the TIF2BIT utility to convert your TIFF image 
  83. to a BIT format file.  Then the BIT2CGM converts the BIT format file to a CGM 
  84. image file.  The TIF2CGM.BAT batch file will run both of these programs in the 
  85. proper order.  If you are using Harvard Graphics, you can use the TIF2SYM.BAT 
  86. batch file to continue on to produce a Harvard Graphics SYMbol file, which HG 
  87. can import directly.  The HG META2HG.EXE utility must be in the same disk
  88. directory as MetaScan.
  89.  
  90. For example, if your TIFF image file is called LOGO.TIF, then
  91.  
  92. TIF2CGM LOGO
  93.  
  94. will convert it to LOGO.CGM, or
  95.  
  96. TIF2SYM LOGO
  97.  
  98. will convert it directly to LOGO.SYM for Harvard Graphics.  Do NOT type in the 
  99. filename extensions (.TIF, .CGM, .SYM).  These are automatically inserted for 
  100. you.
  101.  
  102. The TIF2CGM and TIF2SYM batch files use only the most rudimentary options for 
  103. conversion.  Please read the TIF2BIT.DOC and BIT2CGM.DOC documentation files 
  104. for more detailed information on options that can help make difficult 
  105. conversions successfully.
  106.  
  107.  
  108.  
  109. ====================
  110. For Harvard Graphics
  111. ====================
  112. After converting the image to a SYM (symbol) file, you can bring it into HG
  113. as follows:
  114.  
  115. Once in HG, select Draw/Annote, then Symbol, then Get.  Select the desired
  116. SYMbol file, and select the symbol that is displayed and size it on-screen
  117. to suit.  If you need to modify the image, select Ungroup from the Symbol
  118. menu and ungroup the symbol into its constituent components.  Then, from the
  119. Draw/Annote menu, use the Modify and Options commands to edit the colors and
  120. fill characteristics of the polygons, or polylines.  Note that color 0 is the
  121. background color, to make polygons "empty".
  122.  
  123. =================
  124. For Freelance+ V3
  125. =================
  126. You may import the CGM file directly from the File menu, using the Import
  127. command, selecting Metafile.  You may have to select and re-size the image.
  128. Otherwise, editing proceeds as for any group of Freelance drawing entities.
  129.  
  130. ===============
  131. COMMON PROBLEMS
  132. ===============
  133.  
  134. Huge and unusable CGM files, or META2HG complains:
  135. --------------------------------------------------
  136. This USUALLY means that you are using a grayscale image, or an image that was
  137. dithered to resemble grayscale, or an image that was translated from a color
  138. image.  MetaScan only handles black-and-white images.  You can translate a
  139. grayscale TIFF to black and white by thresholding it with the /d1 option in
  140. TIF2BIT (see TIF2BIT.DOC).
  141.  
  142. Another common cause is converting an image with filled areas, without using
  143. the /x option with BIT2CGM.  The /x option extracts the outline of the images,
  144. leaving the fill behind.  You can add the fill back in within your CGM-reading
  145. program (Harvard Graphics users, see below).
  146.  
  147. BIT2CGM complains of "Not enough memory":
  148. -----------------------------------------
  149. This means that your scanned image is too large to load into memory.  Try
  150. re-scanning at a lower dpi (resolution), or try restricting your scanned image
  151. to just the area of interest.
  152.  
  153. Filled areas are empty:
  154. -----------------------
  155. This is the normal result of using the /x option, which is usually required to
  156. keep the CGM files within a reasonable size.  In many CGM-reading programs, you
  157. can simply convert the polylines to filled polygons, as needed.  Freelance+ and
  158. DrawPartner can both handle this easily.  You may also use the /p option
  159. in BIT2CGM to create polygons instead of polylines; you will then have to
  160. change the colors of overlapping polygons as needed.  This is the case with
  161. Harvard Graphics.
  162.  
  163. Final image is too jagged:
  164. --------------------------
  165. You may use the /jN option of BIT2CGM to increase the "smoothing" of curved
  166. lines.  The larger N is made, the more smoothing of jaggies is done.  Large
  167. /jN values cause sharp edges to "melt" however!  You can often get better
  168. results by converting scans of larger ORIGINAL images, too.
  169.  
  170. In editing programs like Freelance+ and DrawPartner, you can use the
  171. Edit Points functions to tweak the image outlines quite effectively.
  172.  
  173.  
  174.  
  175. ======
  176. HELP?!
  177. ======
  178.  
  179. Should you have any difficulties using these utilities, please 
  180. contact me via Compuserve EasyPlex (or on the CompuServe PICS forum):
  181.  
  182. William J. Hinkle [71121,3211]
  183.  
  184. or, as a second and slower choice, at the postal address given above.
  185.  
  186. I cannot, of course, guarantee the fitness of these utilities for any 
  187. particular purpose, nor accept any liabilities for their failure to perform 
  188. in any particular manner.  But I can try to help!
  189.