1d.out.file(1) Grass User's Manual d.out.file(1)
2
3
4
6 d.out.file - Saves active display monitor to graphics file in home
7 directory
8
10 display, export
11
13 d.out.file
14 d.out.file help
15 d.out.file [-tb] output=string [res=integer] format=string [compresā
16 sion=string] [quality=string]
17
18 Flags:
19 -t Transparent background
20
21 -b Set background color to black (white default)
22
23 Parameters:
24 output=string
25 Name of output file (do NOT add extension)
26
27 res=integer
28 Resolution of output file (single=1, double=2, quad=4) Default: 1
29
30 format=string
31 Graphics file format Options: png,ppm,tif,jpg,bmp Default: png
32
33 compression=string
34 Compression for PNG files (0=none, 1=fastest, 9=most) Options:
35 0,1,9 Default: 0
36
37 quality=string
38 Size/quality for JPEG files (10=smallest/worst, 100=largest/best)
39 Default: 75
40
42 d.out.file - Uses d.save, the GRASS PNG driver, and gdal_translate to
43 export the currently selected display monitor to a graphics file of
44 several formats. Screen resolution can be set prior to export. PNG and
45 PPM formats are supported directly by the GRASS PNG driver, along with
46 two compression levels for PNG files TIFF, JPEG, and BMP formats are
47 supported by using gdal_translate on PPM format files produced by the
48 GRASS PNG driver. Different levels of compression/quality are supported
49 for JPEG files (integer values from 10-100 are accepted. Graphic files
50 are exported to the user's home directory by default, but different
51 paths may be specified in the output field.
52 (GRASS Shell Script)
53
55 d.redraw, PNG driver,
56
58 Michael Barton, Arizona State University
59
60 Last changed: $Date: 2005/09/16 01:02:47 $
61
62 Full index
63
64
65
66GRASS 6.2.2 d.out.file(1)