1RAS_FORMATS(1NCAR) NCAR VIEW RAS_FORMATS(1NCAR)
2
3
4
6 ras_formats - Information on raster formats supported by NCAR Graphics
7 and NCAR View.
8
10 Abekas A60, AVS, Generic Binary, HDF, HPPCL, NRIF, Sun, SGI, and XWD.
11
13 NCAR Graphics and NCAR View applications are built upon a common
14 library that provides read and write access to raster imagery. The ta‐
15 ble below summarizes the support that is provided for all the different
16 formats. Note that a format may be writeable but not readable, and
17 that a compressed image may be readable but not writeable. By default,
18 a raster image is written as compressed if possible. For those applica‐
19 tions that key upon the filename to determine the raster format, or
20 allow a -ifmt or -ofmt, the extension, as listed below, should be used
21 without the "." in front (e.g. use "hdf", not ".hdf").
22
23 Format(extensions) Encoding Input Output Compression
24 ──────────────────────────────────────────────────────────────
25
26 Abekas A60(.a60) RGB24 Yes Yes None
27 AVS(.avs) RGB24 Yes Yes None
28 HDF(.hdf) Indexed-8 Yes Yes In/Out
29 HDF(.hdf) Direct-24 Yes Yes In/Out
30 HPPCL(.hppcl) Indexed-8 No Yes Out
31 NRIF(.nrif) Bilevel No No None
32 NRIF(.nrif) Indexed-8 Yes Yes In/Out
33 NRIF(.nrif) Direct-24 Yes Yes In/Out
34 Sun(.sun) Indexed-8 Yes Yes In
35 Sun(.sun) Direct-24 Yes No In
36 SGI(.sgi,.rgb) Direct-24 Yes Yes In
37 XWD(.xwd) Indexed-8 Yes Yes None
38
39 ──────────────────────────────────────────────────────────────
40
41
43 Not all formats and encodings that are supported for output are sup‐
44 ported for input; the software has separate input and output drivers
45 for format/encoding pair.
46
47 For all the formats listed below, only 8-bit pixels and 8-bit run-
48 lengths (where applicable) are supported.
49
50 Experience with HDF's "advanced" compression option indicates that you
51 should use it only if you consider random pixels an advanced-appearing
52 image.
53
54
56 rasview(1NCARG), rasls(1NCARG), rascat(1NCARG), rasgetpal(1NCARG),
57 rassplit(1NCARG)
58
59 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
60
62 Copyright (C) 1987-2007
63 University Corporation for Atmospheric Research
64
65 This documentation is free software; you can redistribute it and/or
66 modify it under the terms of the GNU General Public License as pub‐
67 lished by the Free Software Foundation; either version 2 of the
68 License, or (at your option) any later version.
69
70 This software is distributed in the hope that it will be useful, but
71 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
72 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
73 Public License for more details.
74
75 You should have received a copy of the GNU General Public License along
76 with this software; if not, write to the Free Software Foundation,
77 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
78
79
80
81
82NCAR February 1993 RAS_FORMATS(1NCAR)