~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to visualization/ximgview/ximgview.html

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<h2>DESCRIPTION</h2>
 
2
 
 
3
<i>ximgview</i> is a simple X11 image viewer for 32-bpp BMP images, as
 
4
can be created with the <em><a href="pngdriver.html">PNG</a></em> and
 
5
<em><a href="cairodriver.html">cairo</a></em> drivers. The display is
 
6
continually refreshed.
 
7
 
 
8
<h2>NOTES</h2>
 
9
 
 
10
The display driver must be configure to map the file, with
 
11
<em>GRASS_RENDER_FILE_MAPPED=TRUE</em>. This ensures that the file will remain
 
12
a constant size, rather than being truncated whenever it is updated.
 
13
 
 
14
 
 
15
<h2>EXAMPLE</h2>
 
16
 
 
17
(bash shell syntax)
 
18
<div class="code"><pre>
 
19
export GRASS_RENDER_FILE=map.bmp
 
20
export GRASS_RENDER_WIDTH=640
 
21
export GRASS_RENDER_HEIGHT=480
 
22
export GRASS_RENDER_IMMEDIATE=PNG
 
23
export GRASS_RENDER_FILE_MAPPED=TRUE
 
24
export GRASS_RENDER_FILE_READ=TRUE
 
25
 
 
26
d.erase
 
27
ximgview $GRASS_RENDER_FILE percent=50 &
 
28
d.rast elevation.dem
 
29
d.vect roads
 
30
</pre></div>
 
31
 
 
32
 
 
33
<h2>SEE ALSO</h2>
 
34
 
 
35
<em>
 
36
<a href="pngdriver.html">PNG driver</a><br>
 
37
<a href="cairodriver.html">cairo driver</a><br>
 
38
<a href="wximgview.html">wximgview</a>
 
39
</em>
 
40
 
 
41
 
 
42
<h2>AUTHOR</h2>
 
43
Glynn Clements
 
44
 
 
45
<p><i>Last changed: $Date: 2014-11-03 18:56:30 +0100 (Mon, 03 Nov 2014) $</i>