1GIF2RGB(1) GIFLIB Documentation GIF2RGB(1)
2
3
4
6 gif2rgb - convert images saved as GIF to 24-bit RGB triplets
7
9 gif2rgb [-v] [-1] [-c colors] [-s width height] [-o outfile] [-h]
10 [gif-file]
11
13 -v
14 Verbose mode (show progress). Enables printout of running scan
15 lines.
16
17 -1
18 Only one file in the format of RGBRGB... triplets (Each of R, G,B
19 is a byte) is being read or written. This file size is 3 * Width *
20 Height. If stdin is used for input or stdout for output, this
21 option is implicitly applied. The default (if not `-1') is 3 files
22 with the names OutFileName.R, OutFileName.G, OutFileName.B, each of
23 which is Width * Height bytes.
24
25 -c colors
26 Specifies number of colors to use in RGB-to-GIF conversions, in
27 bits per pixels, so '-c 8' actually specifies 256 colors (maximum
28 and default).
29
30 -s width height
31 Sets RGB-to-GIF conversion mode and specifies the size of the image
32 to read.
33
34 -o
35 specifies the name of the out file (see also `-1' above).
36
37 -h
38 Print one line of command line help, similar to Usage above.
39
40 By default, convert a GIF input file to RGB triplets. If -s is
41 specified, convert RGB input to a GIF.
42
43 If no input file is given, gif2rgb will try to read data from stdin.
44
46 Gershon Elber.
47
48
49
50GIFLIB 2 May 2012 GIF2RGB(1)