## DESCRIPTION

wximgview is a simple wxWidgets image viewer for 32-bpp BMP images, as can be created with the PNG and cairo drivers. The display is continually refreshed.

## NOTES

The display driver must be configure to map the file, with GRASS_PNG_MAPPED=TRUE. This ensures that the file will remain a constant size, rather than being truncated whenever it is updated.

## EXAMPLE

(bash shell syntax)

    export GRASS_PNGFILE=map.bmp
    export GRASS_WIDTH=640
    export GRASS_HEIGHT=480
    export GRASS_RENDER_IMMEDIATE=cairo
    export GRASS_PNG_MAPPED=TRUE
    export GRASS_PNG_READ=TRUE

    d.erase
    wximgview $GRASS_PNGFILE percent=50 &
    d.rast elevation.dem
    d.vect roads

## SEE ALSO

PNG driver
cairo driver
ximgview

## AUTHOR

Glynn Clements

Last changed: $Date$