rasview displays raster imagery from a file into an X window. By default rasview determines the format of an image file by looking at its file name extension. For example, an xwd (X11 Window Dump) file might be named foo.xwd.
Raster image file formats come in a variety of flavors. rasview attempts to support 8-bit-indexed, and 24-bit-direct encodings of the image formats listed below. Similarly, only output devices with 8-bit or 24-bit depth are supported. rasview attempts to select an X11 Visual which best matches the encoding of the image file. A PseudoColor visual class is preferred for 8-bit-indexed imagery, while a DirectColor visual class is preferred for 24-bit-direct encoded imagery. In the case of 24-bit-direct encodings, if the output device only has 8-bit color the imagery is color-quantized down to 8 bits.
In general raster files contain only a single image. rasview is able to display multiple-image raster files if they were created by the concatenation of single-image files with the rascat(1NCARG) utility or if they were generated by ctrans(1NCARG). Multi-frame image files generated by other means are not guaranteed to be displayable by rasview.
See ras_formats(5NCARG) for a list of supported image formats.
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
This documentation is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.