graymap-hmirror!

Synopsis

(graymap-hmirror! graymap)

Parameters

  • graymap

Description

This procedure mirrors the graymap destructively and horizontally thus exchanging right and left like a RL-mirror.

Side Effects

The graymap is modified.

Return Value

The mirrored graymap is returned.

Example

> (define image (graymap-readpng "example.png"))
image
> (graymap-writepng (graymap-hmirror! image) "example-hmirrored.png")
ok
>