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       -verbose
43              Give some information about the SGI image file.
44
45
46       -channel n
47              Extract channel n of the image as a PGM image.
48
49              Without this option, sgitopnm extracts the first 3 channels as a
50              PPM image or, if the input has 1 or  2  channels,  extracts  the
51              first channel as a PGM image.
52
53              A 2-channel image is grayscale plus transparency, so you can get
54              the transparency information with -channel=2.   You  could  then
55              combine them into a PAM image of tuple type GRAYSCALE_ALPHA with
56              pamstack.
57
58
59
60

REFERENCES

62       The   SGI   image   format   specification   version    1.0    is    at
63       ftp://ftp.sgi.com/graphics/grafica/sgiimage.html .
64
65       There  is  an example SGI file at https://github.com/ZaaLabs/ZaaIL-Tes
66       tImages/tree/master/SGI .
67
68
69

SEE ALSO

71       pnm(1), pam(1), pnmtosgi(1), pamstack(1)
72
73
74

AUTHOR

76       Copyright (C) 1994 by Ingo Wilken  (  Ingo.Wilken@informatik.uni-olden‐
77       burg.de)
78

DOCUMENT SOURCE

80       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
81       source.  The master documentation is at
82
83              http://netpbm.sourceforge.net/doc/sgitopnm.html
84
85netpbm documentation             25 April 2014         Sgitopnm User Manual(0)
Impressum