summary refs log tree commit diff
path: root/sgitopnm.html
blob: c0f23f019a99a1f535e5d0cb0964ed5ecefc66ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Sgitopnm User Manual</TITLE></HEAD>
<BODY>
<H1>sgitopnm</H1>
Updated: 29 Jul 2000
<BR>
<A HREF="#index">Table Of Contents</A>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

sgitopnm - convert a SGI image file to PNM

<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>sgitopnm</B>

[<B>-verbose</B>]

[<B>-channel</B> <I>c</I>]

[<I>SGIfile</I>]

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>sgitopnm</b> reads an SGI image file as input and produces a PGM
image for a 2-dimensional (1 channel) input file, and a PPM image for
a 3-dimensional (3 or more channels) input file.

<P>Alternatively, the program produces a PGM image of any one of the
channels in the input file.

<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>

<DL COMPACT>
<DT><B>-verbose</B>

<DD>Give some information about the SGI image file.

<DT><B>-channel</B> <I>c</I>

<DD>Extract channel <I>c</I> of the image as a PGM image.  Without
this option, <B>sgitopnm</B> extracts the first 3 channels as a PPM
image or, if the input has only 1 channel, extracts that as a PGM
image, and if the input has 2 channels, fails.

</DL>

<A NAME="lbAF">&nbsp;</A>
<H2>REFERENCES</H2>

SGI Image File Format documentation (draft v0.95) by Paul Haeberli (<A
HREF="mailto:paul@sgi.com">paul@sgi.com</A>).  Available via ftp at
sgi.com:graphics/SGIIMAGESPEC.

<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>

<B><A HREF="pnm.html">pnm</A></B>,

<B><A HREF="pnmtosgi.html">pnmtosgi</A></B>

<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>

<p>Copyright (C) 1994 by Ingo Wilken (<A
HREF="mailto:Ingo.Wilken@informatik.uni-oldenburg.de">Ingo.Wilken@informatik.uni-oldenburg.de</A>)

<HR>
<A NAME="index">&nbsp;</A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAD">DESCRIPTION</A>
<LI><A HREF="#lbAE">OPTIONS</A>
<LI><A HREF="#lbAF">REFERENCES</A>
<LI><A HREF="#lbAG">SEE ALSO</A>
<LI><A HREF="#lbAH">AUTHOR</A>
</UL>
</BODY>
</HTML>