ximgview(1grass)

ximgview1grass

View bmp images from the png driver.

Usage

ximgview

ximgview --help

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

Keywords

display, graphics, raster, vector, visualization

Overview

ximgview is a simple X11 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.

Examples

(bash shell syntax)

export GRASS_RENDER_FILE=map.bmp
export GRASS_RENDER_WIDTH=640
export GRASS_RENDER_HEIGHT=480
export GRASS_RENDER_IMMEDIATE=PNG
export GRASS_RENDER_FILE_MAPPED=TRUE
export GRASS_RENDER_FILE_READ=TRUE
d.erase
ximgview $GRASS_RENDER_FILE percent=50 &
d.rast elevation.dem
d.vect roads

Source code

Available at: ximgview source code (history)

Accessed: Monday Feb 24 17:52:42 2025

Main index | Topics index | Keywords index | Graphical index | Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Glynn Clements

From grass-doc 8.4.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.