(graymap-randomize! graymap)
Each pixel of the supplied 16 bit graymap is replaced by a random value.
The resulting graymap is returned.
> (define g (graymap-create 1024 768))
g
> (graymap-randomize! g)
#<graymap(16) orow:-1 ocol:-1 xres:-1 yres:-1 w:1024 h:768>
> (graymap-writepng g "graymap-randomize.png")
ok
>
The resulting 16 bit graymap displays as follows: