1Sgitopnm User Manual(0)                                Sgitopnm User Manual(0)
2
3
4

NAME

6       sgitopnm - convert a SGI image file to PNM
7
8

SYNOPSIS

10       sgitopnm
11
12       [-verbose]
13
14       [-channel c]
15
16       [SgiFileName]
17
18
19

DESCRIPTION

21       This program is part of Netpbm(1).
22
23       sgitopnm  reads an SGI image file as input and produces a PGM image for
24       a 2-dimensional (1- or 2-channel) input file, and a  PPM  image  for  a
25       3-dimensional (3 or more channels) input file.
26
27       Alternatively, the program produces a PGM image of any one of the chan‐
28       nels in the input file.
29
30       Before Netpbm 10.67 (June 2014), sgitopnm does not  work  on  2-channel
31       SGI images.  It fails if you try.
32
33       If  you  don't specify the SgiFileName argument, input is from Standard
34       Input.
35
36       Before Netpbm 10.67 (June 2014), sgitopnm requires its input  to  be  a
37       seekable file, so for example you can't feed it from a pipe.
38
39
40

OPTIONS

42       In  addition  to  the options common to all programs based on libnetpbm
43       (most notably -quiet, see
44        Common Options ⟨index.html#commonoptions⟩ ), sgitopnm  recognizes  the
45       following command line options:
46
47
48
49       -verbose
50              Give some information about the SGI image file.
51
52
53       -channel n
54              Extract channel n of the image as a PGM image.
55
56              Without this option, sgitopnm extracts the first 3 channels as a
57              PPM image or, if the input has 1 or  2  channels,  extracts  the
58              first channel as a PGM image.
59
60              A 2-channel image is grayscale plus transparency, so you can get
61              the transparency information with -channel=2.   You  could  then
62              combine them into a PAM image of tuple type GRAYSCALE_ALPHA with
63              pamstack.
64
65
66
67

REFERENCES

69       The   SGI   image   format   specification   version    1.0    is    at
70       ftp://ftp.sgi.com/graphics/grafica/sgiimage.html .
71
72       There  is  an example SGI file at https://github.com/ZaaLabs/ZaaIL-Tes
73       tImages/tree/master/SGI .
74
75
76

SEE ALSO

78       pnm(1), pam(1), pnmtosgi(1), pamstack(1)
79
80
81

AUTHOR

83       Copyright (C) 1994 by Ingo Wilken  (  Ingo.Wilken@informatik.uni-olden‐
84       burg.de)
85

DOCUMENT SOURCE

87       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
88       source.  The master documentation is at
89
90              http://netpbm.sourceforge.net/doc/sgitopnm.html
91
92netpbm documentation             25 April 2014         Sgitopnm User Manual(0)
Impressum