jpayne@68
|
1 '\" t
|
jpayne@68
|
2 .\" Title: gif2rgb
|
jpayne@68
|
3 .\" Author: [see the "Author" section]
|
jpayne@68
|
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
jpayne@68
|
5 .\" Date: 2 May 2012
|
jpayne@68
|
6 .\" Manual: GIFLIB Documentation
|
jpayne@68
|
7 .\" Source: GIFLIB
|
jpayne@68
|
8 .\" Language: English
|
jpayne@68
|
9 .\"
|
jpayne@68
|
10 .TH "GIF2RGB" "1" "2 May 2012" "GIFLIB" "GIFLIB Documentation"
|
jpayne@68
|
11 .\" -----------------------------------------------------------------
|
jpayne@68
|
12 .\" * Define some portability stuff
|
jpayne@68
|
13 .\" -----------------------------------------------------------------
|
jpayne@68
|
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
jpayne@68
|
15 .\" http://bugs.debian.org/507673
|
jpayne@68
|
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
jpayne@68
|
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
jpayne@68
|
18 .ie \n(.g .ds Aq \(aq
|
jpayne@68
|
19 .el .ds Aq '
|
jpayne@68
|
20 .\" -----------------------------------------------------------------
|
jpayne@68
|
21 .\" * set default formatting
|
jpayne@68
|
22 .\" -----------------------------------------------------------------
|
jpayne@68
|
23 .\" disable hyphenation
|
jpayne@68
|
24 .nh
|
jpayne@68
|
25 .\" disable justification (adjust text to left margin only)
|
jpayne@68
|
26 .ad l
|
jpayne@68
|
27 .\" -----------------------------------------------------------------
|
jpayne@68
|
28 .\" * MAIN CONTENT STARTS HERE *
|
jpayne@68
|
29 .\" -----------------------------------------------------------------
|
jpayne@68
|
30 .SH "NAME"
|
jpayne@68
|
31 gif2rgb \- convert images saved as GIF to 24\-bit RGB triplets
|
jpayne@68
|
32 .SH "SYNOPSIS"
|
jpayne@68
|
33 .HP \w'\fBgif2rgb\fR\ 'u
|
jpayne@68
|
34 \fBgif2rgb\fR [\-v] [\-1] [\-c\ \fIcolors\fR] [\-s\ \fIwidth\fR\ \fIheight\fR] [\-o\ \fIoutfile\fR] [\-h] [\fIgif\-file\fR]
|
jpayne@68
|
35 .SH "OPTIONS"
|
jpayne@68
|
36 .PP
|
jpayne@68
|
37 \-v
|
jpayne@68
|
38 .RS 4
|
jpayne@68
|
39 Verbose mode (show progress)\&. Enables printout of running scan lines\&.
|
jpayne@68
|
40 .RE
|
jpayne@68
|
41 .PP
|
jpayne@68
|
42 \-1
|
jpayne@68
|
43 .RS 4
|
jpayne@68
|
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\&.
|
jpayne@68
|
45 .RE
|
jpayne@68
|
46 .PP
|
jpayne@68
|
47 \-c colors
|
jpayne@68
|
48 .RS 4
|
jpayne@68
|
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)\&.
|
jpayne@68
|
50 .RE
|
jpayne@68
|
51 .PP
|
jpayne@68
|
52 \-s width height
|
jpayne@68
|
53 .RS 4
|
jpayne@68
|
54 Sets RGB\-to\-GIF conversion mode and specifies the size of the image to read\&.
|
jpayne@68
|
55 .RE
|
jpayne@68
|
56 .PP
|
jpayne@68
|
57 \-o
|
jpayne@68
|
58 .RS 4
|
jpayne@68
|
59 specifies the name of the out file (see also `\-1\*(Aq above)\&.
|
jpayne@68
|
60 .RE
|
jpayne@68
|
61 .PP
|
jpayne@68
|
62 \-h
|
jpayne@68
|
63 .RS 4
|
jpayne@68
|
64 Print one line of command line help, similar to Usage above\&.
|
jpayne@68
|
65 .RE
|
jpayne@68
|
66 .PP
|
jpayne@68
|
67 By default, convert a GIF input file to RGB triplets\&. If \-s is specified, convert RGB input to a GIF\&.
|
jpayne@68
|
68 .PP
|
jpayne@68
|
69 If no input file is given, gif2rgb will try to read data from stdin\&.
|
jpayne@68
|
70 .SH "BUGS"
|
jpayne@68
|
71 .PP
|
jpayne@68
|
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\&.
|
jpayne@68
|
73 .SH "AUTHOR"
|
jpayne@68
|
74 .PP
|
jpayne@68
|
75 Gershon Elber\&.
|