Plan 9 - man page for remap (plan9 section 9)
|Linux & Unix Commands - Search Man Pages
cmap, remap - map colors
fb/cmap colormap [ input ]
fb/remap colormap [ input ]
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 colormap, come closest to reproducing the
input image. The output picture includes a copy of the colormap.
Both commands work only if the input image contains rgb channels.
All times are GMT -4. The time now is 03:48 PM.