| 1 |
'\" t |
| 2 |
.\" Title: gifbg |
| 3 |
.\" Author: [see the "Author" section] |
| 4 |
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
| 5 |
.\" Date: 2 May 2012 |
| 6 |
.\" Manual: GIFLIB Documentation |
| 7 |
.\" Source: GIFLIB |
| 8 |
.\" Language: English |
| 9 |
.\" |
| 10 |
.TH "GIFBG" "1" "2 May 2012" "GIFLIB" "GIFLIB Documentation" |
| 11 |
.\" ----------------------------------------------------------------- |
| 12 |
.\" * Define some portability stuff |
| 13 |
.\" ----------------------------------------------------------------- |
| 14 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 15 |
.\" http://bugs.debian.org/507673 |
| 16 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 17 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 18 |
.ie \n(.g .ds Aq \(aq |
| 19 |
.el .ds Aq ' |
| 20 |
.\" ----------------------------------------------------------------- |
| 21 |
.\" * set default formatting |
| 22 |
.\" ----------------------------------------------------------------- |
| 23 |
.\" disable hyphenation |
| 24 |
.nh |
| 25 |
.\" disable justification (adjust text to left margin only) |
| 26 |
.ad l |
| 27 |
.\" ----------------------------------------------------------------- |
| 28 |
.\" * MAIN CONTENT STARTS HERE * |
| 29 |
.\" ----------------------------------------------------------------- |
| 30 |
.SH "NAME" |
| 31 |
gifbg \- generate a test\-pattern GIF |
| 32 |
.SH "SYNOPSIS" |
| 33 |
.HP \w'\fBgifbg\fR\ 'u |
| 34 |
\fBgifbg\fR [\-v] [\-d\ \fIdir\fR] [\-l\ \fIlevels\fR] [\-c\ \fIR\fR\ \fIG\fR\ \fIB\fR] [\-m\ \fImin\fR] [\-o\ \fImax\fR] [\-s\ \fIw\fR\ \fIh\fR] [\-h] |
| 35 |
.SH "DESCRIPTION" |
| 36 |
.PP |
| 37 |
A program to generate a single\-color test pattern GIF with gradually changing intensity in any of the basic 8 directions\&. |
| 38 |
.PP |
| 39 |
The gifbg program reads no input, and will dump the created GIF file to stdout\&. |
| 40 |
.SH "OPTIONS" |
| 41 |
.PP |
| 42 |
\-v |
| 43 |
.RS 4 |
| 44 |
Verbose mode (show progress)\&. Enables printout of running scan lines\&. |
| 45 |
.RE |
| 46 |
.PP |
| 47 |
\-d dir |
| 48 |
.RS 4 |
| 49 |
Select direction the intensity of the background should increase\&. Direction can be one of the 8 principal directions: |
| 50 |
.PP |
| 51 |
"T" |
| 52 |
.RS 4 |
| 53 |
for Top |
| 54 |
.RE |
| 55 |
.PP |
| 56 |
"TR" |
| 57 |
.RS 4 |
| 58 |
for Top Right |
| 59 |
.RE |
| 60 |
.PP |
| 61 |
"R" |
| 62 |
.RS 4 |
| 63 |
for Right |
| 64 |
.RE |
| 65 |
.PP |
| 66 |
"BR" |
| 67 |
.RS 4 |
| 68 |
for Bottom Right |
| 69 |
.RE |
| 70 |
.PP |
| 71 |
"B" |
| 72 |
.RS 4 |
| 73 |
for Bottom |
| 74 |
.RE |
| 75 |
.PP |
| 76 |
"BL" |
| 77 |
.RS 4 |
| 78 |
for Bottom Left |
| 79 |
.RE |
| 80 |
.PP |
| 81 |
"L" |
| 82 |
.RS 4 |
| 83 |
for left |
| 84 |
.RE |
| 85 |
.PP |
| 86 |
"TL" |
| 87 |
.RS 4 |
| 88 |
for Top Left |
| 89 |
.RE |
| 90 |
.sp |
| 91 |
The compass directions may be use as synonyms for the above directions, so for example "NE" is equal to "TR"\&. |
| 92 |
.sp |
| 93 |
Direction is case insensitive\&. The default direction is Top (North)\&. |
| 94 |
.RE |
| 95 |
.PP |
| 96 |
\-l levels |
| 97 |
.RS 4 |
| 98 |
Numeric, number of levels the color will be scaled to\&. Default is 16\&. |
| 99 |
.RE |
| 100 |
.PP |
| 101 |
\-c R G B |
| 102 |
.RS 4 |
| 103 |
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 & \-M) for min & max\&. Default is Blue (0, 0, 255)\&. |
| 104 |
.RE |
| 105 |
.PP |
| 106 |
\-m min |
| 107 |
.RS 4 |
| 108 |
Minimum intensity (in percent) to scale color\&. Default 10% |
| 109 |
.RE |
| 110 |
.PP |
| 111 |
[\-M max |
| 112 |
.RS 4 |
| 113 |
Maximum intensity (in percent) to scale color\&. Default 100% |
| 114 |
.RE |
| 115 |
.PP |
| 116 |
\-s W H |
| 117 |
.RS 4 |
| 118 |
Size of image to create\&. Default 640 by 350\&. |
| 119 |
.RE |
| 120 |
.PP |
| 121 |
\-h |
| 122 |
.RS 4 |
| 123 |
Print one line of command line help, similar to Usage above\&. |
| 124 |
.RE |
| 125 |
.PP |
| 126 |
If min == max = 100 (%) and levels == 2 then boolean mask image of specified size will be created \- all foreground\&. |
| 127 |
.SH "AUTHOR" |
| 128 |
.PP |
| 129 |
Gershon Elber\&. |