home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / giflib11 / doc / text2gif.doc < prev   
Encoding:
Text File  |  1990-09-03  |  1.8 KB  |  47 lines

  1.             Text2Gif
  2.             --------
  3.  
  4. Program to generate gif images out of regular text. Text can be one line
  5. or multi line, and is converted using 8 by 8 fix font.
  6.  
  7. Usage:
  8. ------
  9.  
  10. Usage: Text2Gif [-s ClrMapSize] [-f FGClr] [-c R G B] [-t "Text"] [-h]
  11.  
  12.   Text2Gif read stdin if no text is provided in the command line (-t),
  13. and will dump the created GIF file to stdout.
  14.  
  15.  
  16. Memory required:
  17. ----------------
  18.  
  19. Line.
  20.  
  21.  
  22. Options:
  23. --------
  24.  
  25. 1. [-s ClrMapSize] explicitly defines the size of the color map of the
  26.    resulting gif image. Usually the image will be bicolor with fg as color
  27.    1, unless [-f] is explicitly given in case the color map size will be
  28.    big enough to hold it. However it is sometimes convenient to set the
  29.    color map size to certain size while the fg color is small mainly so
  30.    this image may be merged with another (images must match color map size).
  31. 2. [-f FG] : select foreground index (background is always 0). By default
  32.    it is one and therefore the image result is bicolored.
  33.    if FG is set to n then color map will be created with 2^k entries where
  34.    2^k > n for minimum k, assuming k <= 8. This color map will be all zeros
  35.    except this forground index. This option is useful if this text image
  36.    should be integrated into other image colormap using their colors.
  37. 3. [-c R G B] : The color to use as the foreground color. While by default.
  38. 4. [-t "Text"] : in case of one line text, it can be provided on the command
  39.    line. Note you must encapsulate the Text within quotes if it has spaces
  40.    (The quotes themselves are not part of the text). If no -t option is
  41.    provided, stdin is read until end of file.
  42. 5. [-h] : print one command line help, similar to Usage above.
  43.  
  44. Notes:
  45. ------
  46.    The is a hard bound limit on the number of lines, and it is set to 100.
  47.