NAME
ximgview  - View BMP images from the PNG driver.
KEYWORDS
display, 
graphics, 
raster, 
vector, 
visualization
SYNOPSIS
ximgview
ximgview --help
ximgview 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
 
 
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.
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.
(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
 
PNG driver
cairo driver
wximgview
Glynn Clements
SOURCE CODE
  Available at:
  ximgview source code
  (history)
  Accessed: Monday Apr 01 03:09:55 2024
Main index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2024
GRASS Development Team,
GRASS GIS 8.3.2 Reference Manual