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