1RASVIEW(1NCARG)                  NCAR GRAPHICS                 RASVIEW(1NCARG)
2
3
4

NAME

6       rasview - Raster file previewer for the X Window System.
7

SYNOPSIS

9       rasview [ -toolkitoption ...  ] [ -ifmt format ] [ -movie ] [ -pal pal‐
10       ette_file ] [ -quiet ] [ -Version ] [ file.ext | - ]
11
12

DESCRIPTION

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

OPTIONS

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

SEE ALSO

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

BUGS/CAVEATS

75       rasview does not respond to redraw events.
76
78       Copyright (C) 1987-2009
79       University Corporation for Atmospheric Research
80
81       The use of this Software is governed by a License Agreement.
82
83
84
85NCARG                            January 1993                  RASVIEW(1NCARG)
Impressum