ximgview(1grass)
π ximgview π
okay bestie, welcome to ximgview, straight outta the GRASS User's Manual β¨ it's a little X11 viewer that just... stares at your BMPs. affectionately. π¦
β¨ 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 the usage summary, aka the lil cheat sheet π--verboseβ verbose module output, chatty mode fr fr π£οΈ--quietβ quiet module output, shhh π€«--uiβ force launching the GUI dialog π₯οΈβ¨
Parameters π
image=name[required] β the image file. you literally cannot skip this one bestie, it's required πpercent=integerβ percentage of CPU time to use π§ β‘ Default:10
π DESCRIPTION π
so ximgview is a simple X11 image viewer for 32-bpp BMP images β the exact kind that the PNG and cairo drivers can create. and the display? it's continually refreshed. like it never stops looking at you. main character energy honestly π
π NOTES π
the display driver must be configured to map the file, using GRASS_RENDER_FILE_MAPPED=TRUE. why tho? because that's what keeps the file at a constant size instead of getting truncated every single time it's updated π no mapped file, no vibe. periodt.
fr fr, don't skip that env var. it's not a suggestion, it's the whole thing π«Ά
π EXAMPLE π
(bash shell syntax, obviously π )
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
look at that workflow slay πβ¨
π₯ SEE ALSO π₯
PNG driver, cairo driver, wxpyimgview, variables
iykyk π
π AUTHOR π
Glynn Clements π
π SOURCE CODE π
Available at: ximgview source code (history) π
Latest change: Friday Apr 17 01:04:26 2026 in commit: 32a143358df26b2e518b03c7e0d79541e8d1e5b1
Main index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual π«Ά
okay that's the whole page bestie!! GRASS 8.5.0 energy all the way through, and yeah this is the ximgview(1grass) manual page β go view some BMPs, you got this πβ¨ππ¦πΈπ
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms