gifclrmp(1)

gifclrmp1

Extract colormaps from gif images

Usage

gifclrmp [-v] [-s] [-l mapfile] [-t trans] [-g gamma] [-i image] [-h] [gif-file]

Overview

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.

Options

-v

Verbose mode (show progress). Enables printout of running scan lines.

-s

Select the global screen color map.

-l mapfile

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.

If no GIF file is given, gifclip will try to read a GIF file from stdin.

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.

Releases

14 releases since Debian 2.1 (Slink); the text changed 5 times.

  1. 2.1
  2. 2.2
  3. 3.0–4.0
  4. 6.0–8
  5. 9–10
  6. 11–Arch

-g since Debian 9 (Stretch); -h since Debian 9 (Stretch); -i since Debian 9 (Stretch); -l since Debian 9 (Stretch); -s since Debian 9 (Stretch); -t since Debian 9 (Stretch); -v since Debian 9 (Stretch).

-q until Debian 4.0 (Etch).

Author

Gershon Elber.

From giflib 6.1.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.