wximgview.1grass man page

wximgview — View BMP images from the PNG driver.

Keywords

display, graphics, raster, vector, visualization

Synopsis

wximgview
wximgview --help
wximgview image=name [percent=integer] [--help] [--verbose] [--quiet] [--ui]

Flags

--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters

image=name [required]
Image file
percent=integer
Percentage of CPU time to use
Default: 10

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_RENDER_FILE_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_RENDER_FILE=map.bmp
export GRASS_RENDER_WIDTH=640
export GRASS_RENDER_HEIGHT=480
export GRASS_RENDER_IMMEDIATE=cairo
export GRASS_RENDER_FILE_MAPPED=TRUE
export GRASS_RENDER_FILE_READ=TRUE
d.erase
wximgview $GRASS_RENDER_FILE percent=50 &
d.rast elevation.dem
d.vect roads

See Also

PNG driver
cairo driver
ximgview

Author

Glynn Clements

Last changed: $Date: 2014-11-03 18:56:30 +0100 (Mon, 03 Nov 2014) $

Main index | Topics index | Keywords index | Full index

© 2003-2016 GRASS Development Team, GRASS GIS 7.0.4 Reference Manual

Info

GRASS 7.0.4 Grass User's Manual