• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>gifecho</title><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /></head><body><div class="refentry"><a id="gifecho.1"></a><div class="titlepage"></div><div class="refnamediv"><a id="name"></a><h2>Name</h2><p>gifecho — generate a GIF from ASCII text</p></div><div class="refsynopsisdiv"><a id="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">gifecho</code>  [-v] [-s <em class="replaceable"><code>colormap-size</code></em>] [-f <em class="replaceable"><code>foreground</code></em>] [-c
3      		<em class="replaceable"><code>R</code></em>
4      		<em class="replaceable"><code>G</code></em>
5      		<em class="replaceable"><code>B</code></em>] [-t <em class="replaceable"><code>text</code></em>] [-h] [<em class="replaceable"><code>gif-file</code></em>]</p></div></div><div class="refsect1"><a id="idm29"></a><h2>Description</h2><p>A program to generate GIF images out of regular text.  Text can
6be one line or multi-line, and is converted using 8 by 8 fixed
7font.</p><p>This program reads stdin if no text is provided on the command line (-t),
8and will dump the created GIF file to stdout.</p></div><div class="refsect1"><a id="idm33"></a><h2>Options</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">-v</span></dt><dd><p>Verbose mode (show progress).
9Enables printout of running scan lines. </p></dd><dt><span class="term">-s colormap-size</span></dt><dd><p>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).</p></dd><dt><span class="term">-f foreground</span></dt><dd><p> 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 &gt; n for minimum k, assuming k &lt;= 8.  This color map will be all zeros except this foreground index. This option is useful if this text image should be integrated into other image colormap using their colors.</p></dd><dt><span class="term">-c R G B</span></dt><dd><p> The color to use as the foreground color.  White by default.</p></dd><dt><span class="term">-t text</span></dt><dd><p> 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.</p></dd><dt><span class="term">-h</span></dt><dd><p> Print one line command line help, similar to Usage above.</p></dd></dl></div></div><div class="refsect1"><a id="idm60"></a><h2>Notes</h2><p>There is a hardcoded limit of 100 the number of lines.</p></div><div class="refsect1"><a id="idm63"></a><h2>Author</h2><p>Gershon Elber.</p></div></div></body></html>