1RASVIEW(1NCARG) NCAR GRAPHICS RASVIEW(1NCARG)
2
3
4
6 rasview - Raster file previewer for the X Window System.
7
9 rasview [ -toolkitoption ... ] [ -ifmt format ] [ -movie ] [ -pal pal‐
10 ette_file ] [ -quiet ] [ -Version ] [ file.ext | - ]
11
12
14 rasview displays raster imagery from a file into an X window. By
15 default rasview determines the format of an image file by looking at
16 its file name extension. For example, an xwd (X11 Window Dump) file
17 might be named foo.xwd.
18
19 Raster image file formats come in a variety of flavors. rasview
20 attempts to support 8-bit-indexed, and 24-bit-direct encodings of the
21 image formats listed below. Similarly, only output devices with 8-bit
22 or 24-bit depth are supported. rasview attempts to select an X11 Vis‐
23 ual which best matches the encoding of the image file. A PseudoColor
24 visual class is preferred for 8-bit-indexed imagery, while a Direct‐
25 Color visual class is preferred for 24-bit-direct encoded imagery. In
26 the case of 24-bit-direct encodings, if the output device only has
27 8-bit color the imagery is color-quantized down to 8 bits.
28
29 In general raster files contain only a single image. rasview is able
30 to display multiple-image raster files if they were created by the con‐
31 catenation of single-image files with the rascat(1NCARG) utility or if
32 they were generated by ctrans(1NCARG). Multi-frame image files gener‐
33 ated by other means are not guaranteed to be displayable by rasview.
34
35 See ras_formats(5NCARG) for a list of supported image formats.
36
38 rasview accepts all of the standard X Toolkit command line options (see
39 X11(7)). rasview also accepts the following options:
40
41 -ifmt format
42 Specify the input file format. format is one of the aforemen‐
43 tioned file name extensions (without the ".", e.g. xwd). When
44 this option is specified file name extensions are not necessary
45 and are ignored if present. All input files must have the same
46 format.
47
48 -movie Normally when processing multi-image raster files, rasview waits
49 for a mouse click before proceeding to the next frame. When this
50 option is used rasview immediately advances the frame after
51 rasview has completed drawing it.
52
53 -pal palette_file
54 Use the color palette contained in the file palette_file. for
55 displaying images. This palette will override the color palette
56 stored with the image.
57
58 See ras_palette(5NCARG) for a description of palette file
59 forats.
60
61 -quiet Operate in quiet mode.
62
63 -Version
64 Print the version number and then exit.
65
66 - Read rasterfile from standard input (-ifmt option required).
67
69 ctrans(1NCARG), rascat(1NCARG), ras_formats(5NCARG), ras_pal‐
70 ette(5NCARG), xwd(1), xwud(1) X11(7)
71
72 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
73
75 rasview does not respond to redraw events.
76
78 Copyright (C) 1987-2007
79 University Corporation for Atmospheric Research
80
81 This documentation is free software; you can redistribute it and/or
82 modify it under the terms of the GNU General Public License as pub‐
83 lished by the Free Software Foundation; either version 2 of the
84 License, or (at your option) any later version.
85
86 This software is distributed in the hope that it will be useful, but
87 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
88 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
89 Public License for more details.
90
91 You should have received a copy of the GNU General Public License along
92 with this software; if not, write to the Free Software Foundation,
93 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
94
95
96
97
98NCARG January 1993 RASVIEW(1NCARG)