jpayne@68
|
1 '\" t
|
jpayne@68
|
2 .\" Title: gifclrmp
|
jpayne@68
|
3 .\" Author: [see the "Author" section]
|
jpayne@68
|
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
jpayne@68
|
5 .\" Date: 2 May 2012
|
jpayne@68
|
6 .\" Manual: GIFLIB Documentation
|
jpayne@68
|
7 .\" Source: GIFLIB
|
jpayne@68
|
8 .\" Language: English
|
jpayne@68
|
9 .\"
|
jpayne@68
|
10 .TH "GIFCLRMP" "1" "2 May 2012" "GIFLIB" "GIFLIB Documentation"
|
jpayne@68
|
11 .\" -----------------------------------------------------------------
|
jpayne@68
|
12 .\" * Define some portability stuff
|
jpayne@68
|
13 .\" -----------------------------------------------------------------
|
jpayne@68
|
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
jpayne@68
|
15 .\" http://bugs.debian.org/507673
|
jpayne@68
|
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
jpayne@68
|
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
jpayne@68
|
18 .ie \n(.g .ds Aq \(aq
|
jpayne@68
|
19 .el .ds Aq '
|
jpayne@68
|
20 .\" -----------------------------------------------------------------
|
jpayne@68
|
21 .\" * set default formatting
|
jpayne@68
|
22 .\" -----------------------------------------------------------------
|
jpayne@68
|
23 .\" disable hyphenation
|
jpayne@68
|
24 .nh
|
jpayne@68
|
25 .\" disable justification (adjust text to left margin only)
|
jpayne@68
|
26 .ad l
|
jpayne@68
|
27 .\" -----------------------------------------------------------------
|
jpayne@68
|
28 .\" * MAIN CONTENT STARTS HERE *
|
jpayne@68
|
29 .\" -----------------------------------------------------------------
|
jpayne@68
|
30 .SH "NAME"
|
jpayne@68
|
31 gifclrmp \- extract colormaps from GIF images
|
jpayne@68
|
32 .SH "SYNOPSIS"
|
jpayne@68
|
33 .HP \w'\fBgifclrmp\fR\ 'u
|
jpayne@68
|
34 \fBgifclrmp\fR [\-v] [\-s] [\-l\ \fImapfile\fR] [\-t\ \fItrans\fR] [\-g\ \fIgamma\fR] [\-i\ \fIimage\fR] [\-h] [\fIgif\-file\fR]
|
jpayne@68
|
35 .SH "DESCRIPTION"
|
jpayne@68
|
36 .PP
|
jpayne@68
|
37 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\&.
|
jpayne@68
|
38 .SH "OPTIONS"
|
jpayne@68
|
39 .PP
|
jpayne@68
|
40 \-v
|
jpayne@68
|
41 .RS 4
|
jpayne@68
|
42 Verbose mode (show progress)\&. Enables printout of running scan lines\&.
|
jpayne@68
|
43 .RE
|
jpayne@68
|
44 .PP
|
jpayne@68
|
45 \-s
|
jpayne@68
|
46 .RS 4
|
jpayne@68
|
47 Select the global screen color map\&.
|
jpayne@68
|
48 .RE
|
jpayne@68
|
49 .PP
|
jpayne@68
|
50 \-l mapfile
|
jpayne@68
|
51 .RS 4
|
jpayne@68
|
52 Load color map from this file instead of selected color map\&.
|
jpayne@68
|
53 .RE
|
jpayne@68
|
54 .PP
|
jpayne@68
|
55 \-t trans
|
jpayne@68
|
56 .RS 4
|
jpayne@68
|
57 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\*(Aq and `after\*(Aq index values\&. At present, the `before\*(Aq index values must be in ascending order starting from 0\&.
|
jpayne@68
|
58 .RE
|
jpayne@68
|
59 .PP
|
jpayne@68
|
60 \-g gamma
|
jpayne@68
|
61 .RS 4
|
jpayne@68
|
62 Apply gamma correction to selected color map\&.
|
jpayne@68
|
63 .RE
|
jpayne@68
|
64 .PP
|
jpayne@68
|
65 \-i image
|
jpayne@68
|
66 .RS 4
|
jpayne@68
|
67 Select the color map of the numbered image\&.
|
jpayne@68
|
68 .RE
|
jpayne@68
|
69 .PP
|
jpayne@68
|
70 \-h
|
jpayne@68
|
71 .RS 4
|
jpayne@68
|
72 Print one command line help, similar to Usage above\&.
|
jpayne@68
|
73 .RE
|
jpayne@68
|
74 .PP
|
jpayne@68
|
75 If no GIF file is given, gifclip will try to read a GIF file from stdin\&.
|
jpayne@68
|
76 .SH "NOTES"
|
jpayne@68
|
77 .sp
|
jpayne@68
|
78 .RS 4
|
jpayne@68
|
79 .ie n \{\
|
jpayne@68
|
80 \h'-04'\(bu\h'+03'\c
|
jpayne@68
|
81 .\}
|
jpayne@68
|
82 .el \{\
|
jpayne@68
|
83 .sp -1
|
jpayne@68
|
84 .IP \(bu 2.3
|
jpayne@68
|
85 .\}
|
jpayne@68
|
86 The default operation is to dump out the selected color map in text format\&.
|
jpayne@68
|
87 .RE
|
jpayne@68
|
88 .sp
|
jpayne@68
|
89 .RS 4
|
jpayne@68
|
90 .ie n \{\
|
jpayne@68
|
91 \h'-04'\(bu\h'+03'\c
|
jpayne@68
|
92 .\}
|
jpayne@68
|
93 .el \{\
|
jpayne@68
|
94 .sp -1
|
jpayne@68
|
95 .IP \(bu 2.3
|
jpayne@68
|
96 .\}
|
jpayne@68
|
97 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\&.
|
jpayne@68
|
98 .RE
|
jpayne@68
|
99 .SH "AUTHOR"
|
jpayne@68
|
100 .PP
|
jpayne@68
|
101 Gershon Elber\&.
|