colormap-readjpg

Synopsis

(colormap-readjpg filename)

Parameters

  • filename

Description

A file in JPG format is read (and decompressed) to a colormap.

Side Effects

Return Value

The colormap is returned.

Example

> (define cm2 (colormap-readjpg "test.jpg"))
cm2
> cm2
#<colormap orow:-1 ocol:-1 xres:-1 yres:-1 w:1280 h:720>
>