File: gifclrmp.html

package info (click to toggle)
giflib 3.0-11
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,052 kB
  • ctags: 967
  • sloc: ansic: 11,668; sh: 223; makefile: 212; perl: 54
file content (77 lines) | stat: -rw-r--r-- 1,886 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!doctype HTML public "-//W3O//DTD W3 HTML 2.0//EN">
<HTML>
<HEAD>
<TITLE>gifclrmp</TITLE>
<link rev=made href=mailto:esr@snark.thyrsus.com>
</HEAD>
<BODY>
Go to <a href="index.html">index page</a>.

<CENTER><H1>gifclrmp</H1></CENTER>

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.<P>

<H1>Usage:</H1>

<pre>
gifclrmap [-q] [-s] [-t trans] [-l map] [-g Gamma] [-i image] [-h] gif-file
</pre>

If no gif-file is given, GifClip will try to read a GIF file from stdin.<P>

<H1>Memory required:</H1>

Line.

<H1>Options:</H1>

<DL>
<DT> [-q]
<DD> Quiet mode.  Defaults off on MSDOS, on under UNIX.  Controls printout
   of running scan lines.  Use -q- to invert.<P>

<DT> [-s]
<DD> Select the global screen color map.<P>

<DT> [-l map]
<DD> Load color map from this file instead of selected color map.<P>

<DT> [-t trans]
<DD> 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.<P>

<DT> [-g Gamma]
<DD> Apply gamma correction to selected color map.<P>

<DT>[-i image]
<DD> Select the color map of the numbered image.<P>

<DT>[-h]
<DD> Print one command line help, similar to Usage above.<P>
</DL>

<H1>Notes:</H1>

<UL>
<LI>
The default operation is to dump out the selected color map in text
format.<P>

<LI>
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.<P>
</UL>

<H1>Author:</H1>

Gershon Elber

<HR>
<ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com">&lt;esr@snark.thyrsus.com&gt;</A></ADDRESS>
</BODY>
</HTML>