(colormap-writejpg colormap filename)
(colormap-writejpg colormap filename quality)
The colormap is written to the specified file in JPG file format with the specified quality (default is 75 if not provided).
unspecified (ok)
> (define cm (colormap-create 640 480))
cm
> (colormap-writejpg cm "test.jpg")
ok
>