colormap-equal?

Synopsis

(colormap-equal? colormap1 colormap2)

Parameters

  • colormap1
  • colormap2

Description

Side Effects

Return Value

Returns #t if both colormaps are equal (same dimensions and content), otherwise #f is returned.

Example

> (define cm (colormap-create 640 480))
cm
> (define cm2 (colormap-copy cm))
cm2
> (colormap-equal? cm cm2)
#t
>