1GIFCLRMP(1) GIFLIB Documentation GIFCLRMP(1)
2
3
4
6 gifclrmp - extract colormaps from GIF images
7
9 gifclrmp [-v] [-s] [-l mapfile] [-t trans] [-g gamma] [-i image] [-h]
10 [gif-file]
11
13 A program to modify GIF image colormaps. Any local colormap in a GIF
14 file can be modified at a time, or the global screen one.
15
17 -v
18 Verbose mode (show progress). Enables printout of running scan
19 lines.
20
21 -s
22 Select the global screen color map.
23
24 -l mapfile
25 Load color map from this file instead of selected color map.
26
27 -t trans
28 Change color index values. The change is made to both the selected
29 color table and the raster bits of the selected image. A
30 translation file is a list of pairs of `before' and `after' index
31 values. At present, the `before' index values must be in ascending
32 order starting from 0.
33
34 -g gamma
35 Apply gamma correction to selected color map.
36
37 -i image
38 Select the color map of the numbered image.
39
40 -h
41 Print one command line help, similar to Usage above.
42
43 If no GIF file is given, gifclip will try to read a GIF file from
44 stdin.
45
47 · The default operation is to dump out the selected color map in text
48 format.
49
50 · The file to load/dump is simply one color map entry per line. Each
51 such entry line has four integers: "ColorIndex Red Green Blue",
52 where color index is in ascending order starting from 1.
53
55 Gershon Elber.
56
57
58
59GIFLIB 2 May 2012 GIFCLRMP(1)