graymap?

Synopsis

(graymap? object)

Parameters

  • object

Description

Side Effects

Return Value

Returns #t if object is a 16 bit graymap, otherwise #f is returned.

Example

> (define a (greymap-create 640 480))
a
> a
#<greymap orow:-1 ocol:-1 xres:-1 yres:-1 w:640 h:480>
> (define b (graymap-create 640 480))
b
> b
#<graymap(16) orow:-1 ocol:-1 xres:-1 yres:-1 w:640 h:480>
> (graymap? a)
#f
> (graymap? b)
#t
>