graymap-getpixel

Synopsis

(graymap-getpixel graymap x y)

Parameters

  • graymap: A 16 bit graymap
  • x
  • y

Description

Side Effects

Return Value

The 16 bit grey value (0 … 65535) of the specified pixel is returned.

Example

> (define gm (graymap-create 100 50))
gm
> (graymap-setpixel! gm 99 0 30000)
ok
> (graymap-getpixel gm 99 0)
30000
>