REMAP(9.1) REMAP(9.1)
NAME
cmap, remap - map colors
SYNOPSIS
fb/cmap colormap [ input ]
fb/remap colormap [ input ]
DESCRIPTION
Cmap looks up the rgb channels of the input picture file
(default standard input), in the colormap, writing the
resulting image to standard output.
Remap is approximately the inverse of cmap. Pixel values in
the input image are replaced by those that, when mapped
through the input colormap , come closest to reproducing the
input image. The output picture includes a copy of the
colormap.
SEE ALSO
picfile(9.6)
BUGS
Both commands work only if the input image contains rgb
channels.
Page 1 Plan 9 (printed 12/20/25)