RAW2GIF(1) GIFLIB Documentation RAW2GIF(1)NAMEraw2gif - convert raw pixel data to a GIF
SYNOPSISraw2gif [-v] -s width height [-p color-map] [-h] [raw-file]
DESCRIPTION
A program to convert RAW image data into GIF files. Only one image can
be handled. The RAW image file is assumed to hold one pixel color in
one byte, and therefore the file size must be Width times Height as
specified by the -s option below.
If no raw-file is given, raw2gif will try to read RAW data from stdin.
The generated GIF File is dumped to stdout.
OPTIONS-v
Verbose mode (show progress). Enables printout of running scan
lines.
-s width height
The dimensions of the image must be specified in the command line.
The raw image file size must be exactly width times weight bytes
(each byte is one pixel color).
-p ColorMapFile
Color map to load for given RAW image. This file has 4 integers in
line (ColorIndex Red Green Blue), and the ColorIndex is in order
starting from 1. See gifclrmap, which can also use/create these
bitmap files. If no color map is specified, uses the EGA 16 color
palette as default color map.
-h
Print one line of command line help, similar to Usage above.
AUTHOR
Gershon Elber.
GIFLIB 2 May 2012 RAW2GIF(1)