greymap->colormap

Synopsis

(greymap->colormap greymap)

Parameters

  • colormap

Description

A greymap is converted to a new colormap with each channel set to the same greymap values.

Side Effects

Return Value

The resulting new colormap is returned.

Example

> (greymap->colormap (greymap-create 640 480))
#<colormap orow:-1 ocol:-1 xres:-1 yres:-1 w:640 h:480>
>