plan9 man page for remap

Query: remap

OS: plan9

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 rgb image to standard output. That is, cmap writes on its output the result of applying the colormap to the pixels of the input image. Remap is approximately the inverse of cmap. Pixel values in the input image are replaced by those that, when mapped through the input col- ormap, come closest to reproducing the input image. The output picture includes a copy of the colormap.
SOURCE
/sys/src/fb/cmap.c /sys/src/fb/remap.c
SEE ALSO
picfile(9.6)
BUGS
Both commands work only if the input image contains rgb channels. REMAP(9.1)
Related Man Pages
pnmremap(1) - redhat
pnmremap(1) - minix
pnmremap(1) - v7
pnmremap(1) - opensolaris
pnmremap(1) - hpux
Similar Topics in the Unix Linux Community
Remap Mouse Buttons with Xmodmap
run command while remapping file names
keyboard remapped drastically by X
Tar extract: remap uid gid ?
Bash arrays: rebin/interpolate smaller array to large array