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