[go: up one dir, main page]

Menu

[8bed39]: / doc / gifbg.xml  Maximize  Restore  History

Download this file

146 lines (134 with data), 4.3 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE refentry PUBLIC
"-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
<refentry id='gifbg.1'>
<refentryinfo><date>2 May 2012</date></refentryinfo>
<refmeta>
<refentrytitle>gifbg</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="source">GIFLIB</refmiscinfo>
<refmiscinfo class="manual">GIFLIB Documentation</refmiscinfo>
</refmeta>
<refnamediv id='name'>
<refname>gifbg</refname>
<refpurpose>generate a test-pattern GIF</refpurpose>
</refnamediv>
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
<command>gifbg</command>
<arg choice='opt'>-v</arg>
<arg choice='opt'>-d <replaceable>dir</replaceable></arg>
<arg choice='opt'>-l <replaceable>lvls</replaceable></arg>
<arg choice='opt'>-c
<replaceable>R</replaceable>
<replaceable>G</replaceable>
<replaceable>B</replaceable></arg>
<arg choice='opt'>-m <replaceable>min</replaceable></arg>
<arg choice='opt'>-o <replaceable>max</replaceable></arg>
<arg choice='opt'>-s
<replaceable>w</replaceable>
<replaceable>h</replaceable></arg>
<arg choice='opt'>-h</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1><title>Description</title>
<para>A program to generate a single-color test pattern GIF with
gradually changing intensity in any of the basic 8 directions.</para>
<para>The gifbg program reads no input, and will dump the created GIF file
to stdout.</para>
</refsect1>
<refsect1><title>Options</title>
<variablelist>
<varlistentry>
<term>-v</term>
<listitem>
<para> Verbose mode (show progress).
Enables printout of running scan lines.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-d dir</term>
<listitem>
<para>Select direction the intensity of the background should
increase. Direction can be one of the 8 principal directions:</para>
<variablelist>
<varlistentry>
<term>"T"</term>
<listitem><para>for Top</para></listitem></varlistentry>
<varlistentry>
<term>"TR"</term>
<listitem><para>for Top Right</para></listitem></varlistentry>
<varlistentry>
<term>"R"</term>
<listitem><para>for Right</para></listitem></varlistentry>
<varlistentry>
<term>"BR"</term>
<listitem><para>for Bottom Right</para></listitem></varlistentry>
<varlistentry>
<term>"B"</term>
<listitem><para>for Bottom</para></listitem></varlistentry>
<varlistentry>
<term>"BL"</term>
<listitem><para>for Bottom Left</para></listitem></varlistentry>
<varlistentry>
<term>"L"</term>
<listitem><para>for left</para></listitem></varlistentry>
<varlistentry>
<term>"TL"</term>
<listitem><para>for Top Left</para></listitem></varlistentry>
</variablelist>
<para>The compass directions may be use as synonyms for the above directions, so
for example "NE" is equal to "TR".</para>
<para>Direction is case insensitive. The default direction is Top
(North).</para>
</listitem>
</varlistentry>
<varlistentry>
<term> -l lvls</term>
<listitem>
<para> Numeric, nmber of levels the color will be scaled to. Default is 16.</para>
</listitem>
</varlistentry>
<varlistentry>
<term> -c R G B</term>
<listitem>
<para> What to use as the primary background color to scale. This
color is scaled between the minimum intensity (min) and maximum
intensity (max) from one end of the screen to the other as defined by
dir. See below (-m &amp; -M) for min &amp; max. Default is Blue (0,
0, 255).</para>
</listitem>
</varlistentry>
<varlistentry>
<term> -m min</term>
<listitem>
<para> Minimum intensity (in percent) to scale color. Default 10%</para>
</listitem>
</varlistentry>
<varlistentry>
<term> [-M max</term>
<listitem>
<para> Maximum intensity (in percent) to scale color. Default 100%</para>
</listitem>
</varlistentry>
<varlistentry>
<term> -s W H</term>
<listitem>
<para> Size of image to create. Default 640 by 350.</para>
</listitem>
</varlistentry>
<varlistentry>
<term> -h</term>
<listitem>
<para> Print one line of command line help, similar to Usage above.</para>
</listitem>
</varlistentry>
</variablelist>
<para>If min == max = 100 (%) and lvls == 2 then boolean mask image
of specified size will be created - all foreground.</para>
</refsect1>
<refsect1><title>Author</title>
<para>Gershon Elber.</para>
</refsect1>
</refentry>