Go to index page.
gifclrmp
A program to modify GIF image colormaps.  Any local colormap in a GIF file can
be modified at a time, or the global screen one.
Usage:
gifclrmap [-q] [-s] [-t trans] [-l map] [-g Gamma] [-i image] [-h] gif-file
If no gif-file is given, GifClip will try to read a GIF file from stdin.
Memory required:
Line.
Options:
-  [-q]
-  Quiet mode.  Defaults off on MSDOS, on under UNIX.  Controls printout
   of running scan lines.  Use -q- to invert.
 
-  [-s]
-  Select the global screen color map.
 
-  [-l map]
-  Load color map from this file instead of selected color map.
 
-  [-t trans]
-  Change color index values.  The change is made to both
   the selected color table and the raster bits of the selected image.  A
   translation file is a list of pairs of `before' and `after' index values.
   At present, the `before' index values must be in ascending order starting
   from 0.
 
-  [-g Gamma]
-  Apply gamma correction to selected color map.
 
- [-i image]
-  Select the color map of the numbered image.
 
- [-h]
-  Print one command line help, similar to Usage above.
 
Notes:
- 
The default operation is to dump out the selected color map in text
format.
 
- 
The file to load/dump is simply one color map entry per line.  Each such
entry line has four integers: "ColorIndex Red Green Blue", where color
index is in ascending order starting from 1.
 
Author:
Gershon Elber
Eric S. Raymond <esr@snark.thyrsus.com>