colormap-writepng

Synopsis

(colormap-writepng colormap filename)

Parameters

  • colormap
  • filename

Description

The colormap is written to the specified file in PNG file format (non interlaced, no alpha channel).

Side Effects

Return Value

unspecified (ok)

Example

> (define cm (colormap-create 640 480))
cm
> (colormap-writepng cm "test.png")
ok
>