## Name

fb-cmap — read a colormap from a framebuffer

## Synopsis

`fb-cmap` [-h ] [`colormap`]

## DESCRIPTION

Fb-cmap reads a colormap from a framebuffer. A colormap filename into which to write the data can be given, otherwise the data will appear on standard output. The format of the colormap output is described in cmap(5).

By default, the display is assumed to be 512x512 pixels; by specifying the `-h` flag, the size is changed to 1024x1024. This size distinction is important for devices like the Adage framebuffers which have different operating modes based on the display size.

## DIAGNOSTICS

The message "can't read colormap" occurs if the read failed. No output will be produced. This usually means that the currently selected framebuffer either does not have, or can not support, a colormap. This will usually be the case for example with a disk file "framebuffer."

## SEE ALSO

brlcad(1), fbcmap(1), cmap-fb(1), fbcmrot(1), cmap(5)

## AUTHOR

BRL-CAD Team

## COPYRIGHT

This software is Copyright (c) 1987-2013 by the United States Government as represented by U.S. Army Research Laboratory.

## BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>.