Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

text2gif(1) [debian man page]

text2gif(1)						      General Commands Manual						       text2gif(1)

NAME
text2gif - A program to generate GIF images out of regular text. Text can be one line or multi-line, and is converted using 8 by 8 fixed font. USAGE
text2gif [-q] [-s ClrMapSize] [-f FGClr] [-c R G B] [-t Text ] [-h] This program reads stdin if no text is provided on the command line (-t), and will dump the created GIF file to stdout. MEMORY REQUIRED
Line. OPTIONS
[-q] Quiet mode. Defaults off on MSDOS, on under UNIX. Controls printout of running scan lines. Use -q- to invert. [-s ClrMapSize] Explicitly defines the size of the color map of the resulting gif image. Usually the image will be bicolor with fg as color 1, unless [-f] is explicitly given in case the color map size will be big enough to hold it. However it is sometimes convenient to set the color map size to certain size while the fg color is small mainly so this image may be merged with another (images must match color map size). [-f FG] Select foreground index (background is always 0). By default it is one and therefore the image result is bicolored. if FG is set to n then color map will be created with 2^k entries where 2^k > n for minimum k, assuming k <= 8. This color map will be all zeros except this forground index. This option is useful if this text image should be integrated into other image colormap using their colors. [-c R G B] The color to use as the foreground color. White by default. [-t "Text"] One line of text can be provided on the command line. Note you must encapsulate the Text within quotes if it has spaces (The quotes themselves are not treated as part of the text). If no -t option is provided, stdin is read until end of file. [-h] Print one line command line help, similar to Usage above. NOTES
There is a hardcoded limit of 100 the number of lines. AUTHOR
Gershon Elber Man page created by T.Gridel <tgridel@free.fr>, originally written by Eric S. Raymond <esr@thyrsus.com> giflib-tools text2gif(1)

Check Out this Related Man Page

ppmcolors(1)                                                  General Commands Manual                                                 ppmcolors(1)

NAME
ppmcolors - generate a color map of all colors of a certain maxval SYNOPSIS
ppmcolors [-maxval=maxval] All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one to designate an option. You may use either white space or an equals sign between an option name and its value. DESCRIPTION
ppmcolors generates a PPM color map containing all the colors representable with a certain maxval. A PPM color map is a regular PPM image that is used by some programs to define a set of colors. ppmcolors generates a one row PPM image that contains one pixel of each color representable by the maxval you choose. The maxval of the PPM image is that maxval. Note that you can change the maxval of the color map by running the output of ppmcolors through pnmdepth. As long as the new maxval is a multiple of the original, the resulting set of colors will be identical. If the new maxval is not a multiple, the resulting set of colors will be slightly different. When you select a maxval of 5 (which is the default), you get a color map of the set of "web safe" colors as defined by Netscape. Most web browsers guarantee that they can produce at least these 216 colors (215 plus black). pnmcolormap is another program to generate a color map. It chooses a set of colors designed to represent the colors in a specified image (or simply the set of all the colors in that image, if you choose). pgmramp performs a similar function for PGM images. OPTIONS
-maxval=maxval This is the maxval of the generated color map. Default is 5. SEE ALSO
pnmdepth(1), pnmcolormap(1), ppmcie(1), ppmrainbow(1), pgmramp(1), ppm(5) AUTHOR
By Bryan Henderson, December 2001. 20 December 2001 ppmcolors(1)
Man Page