| 1 |
'\" t |
| 2 |
.\" Title: gif2rgb |
| 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 "GIF2RGB" "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 |
gif2rgb \- convert images saved as GIF to 24\-bit RGB triplets |
| 32 |
.SH "SYNOPSIS" |
| 33 |
.HP \w'\fBgif2rgb\fR\ 'u |
| 34 |
\fBgif2rgb\fR [\-v] [\-1] [\-c\ \fIcolors\fR] [\-s\ \fIwidth\fR\ \fIheight\fR] [\-o\ \fIoutfile\fR] [\-h] [\fIgif\-file\fR] |
| 35 |
.SH "OPTIONS" |
| 36 |
.PP |
| 37 |
\-v |
| 38 |
.RS 4 |
| 39 |
Verbose mode (show progress)\&. Enables printout of running scan lines\&. |
| 40 |
.RE |
| 41 |
.PP |
| 42 |
\-1 |
| 43 |
.RS 4 |
| 44 |
Only one file in the format of RGBRGB\&.\&.\&. triplets (Each of R, G,B is a byte) is being read or written\&. This file size is 3 * Width * Height\&. If stdin is used for input or stdout for output, this option is implicitly applied\&. The default (if not `\-1\*(Aq) is 3 files with the names OutFileName\&.R, OutFileName\&.G, OutFileName\&.B, each of which is Width * Height bytes\&. |
| 45 |
.RE |
| 46 |
.PP |
| 47 |
\-c colors |
| 48 |
.RS 4 |
| 49 |
Specifies number of colors to use in RGB\-to\-GIF conversions, in bits per pixels, so \*(Aq\-c 8\*(Aq actually specifies 256 colors (maximum and default)\&. |
| 50 |
.RE |
| 51 |
.PP |
| 52 |
\-s width height |
| 53 |
.RS 4 |
| 54 |
Sets RGB\-to\-GIF conversion mode and specifies the size of the image to read\&. |
| 55 |
.RE |
| 56 |
.PP |
| 57 |
\-o |
| 58 |
.RS 4 |
| 59 |
specifies the name of the out file (see also `\-1\*(Aq above)\&. |
| 60 |
.RE |
| 61 |
.PP |
| 62 |
\-h |
| 63 |
.RS 4 |
| 64 |
Print one line of command line help, similar to Usage above\&. |
| 65 |
.RE |
| 66 |
.PP |
| 67 |
By default, convert a GIF input file to RGB triplets\&. If \-s is specified, convert RGB input to a GIF\&. |
| 68 |
.PP |
| 69 |
If no input file is given, gif2rgb will try to read data from stdin\&. |
| 70 |
.SH "BUGS" |
| 71 |
.PP |
| 72 |
Feeding this utility a GIF with an invalid colormap, or other kinds of malformations, index will produce invalid output and may core\-dump the tool\&. Don\*(Aqt do that\&. |
| 73 |
.SH "AUTHOR" |
| 74 |
.PP |
| 75 |
Gershon Elber\&. |