colormap-copy

Synopsis

(colormap-copy colormap)

Parameters

  • colormap

Description

A copy of a colormap is created with the same dimensions, all other values and content.

Side Effects

Return Value

The new colormap is returned.

Example

> (define cm (colormap-create 640 480))
cm
> (define cm2 (colormap-copy cm))
cm2
>