Go to index page.


A program to convert images saved as GIF to 24-bit RGB image(s).


gif2rgb [-q] [-1] [-o OutFileName] [-h] gif-file
If no gif-file is given, Gif2RGB will try to read a GIF file from stdin.

Memory required:



Quiet mode. Defaults off on MSDOS, on under UNIX. Controls printout of running scan lines. Use -q- to invert.

Only one file in the format of RGBRGB... triplets (Each of R, G, B is a byte) is being written. This file size is 3 * Width * Height. If stdout is used for output, this option is implicitly applied. The default (if not `-1') is 3 files with the names OutFileName.R, OutFileName.G, OutFileName.B, each of which is Width * Height bytes.

[-o OutFileName]
specifies the name of the out file (see also `-1' above).

Print one line of command line help, similar to Usage above.


Gershon Elber
Eric S. Raymond <esr@snark.thyrsus.com>