blob: 36b644044c0b05029a6d98222335c94b9a954966 (
plain)
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
|
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it! If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Pnmtosgi User Manual" 0 "29 January 1994" "netpbm documentation"
.SH NAME
pnmtosgi - convert a PNM image to a SGI image file
.UN synopsis
.SH SYNOPSIS
\fBpnmtosgi\fP
[\fB-verbatim\fP|\fB-rle\fP]
[\fB-imagename\fP \fIName\fP]
[\fBpnmfile\fP]
.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpnmtosgi\fP reads a PNM image as input and produces an SGI
image file as output. The SGI image will be 2-dimensional (1 channel)
for PBM and PGM input, and 3-dimensional (3 channels) for PPM.
.UN options
.SH OPTIONS
.PP
In addition to the options common to all programs based on libnetpbm
(most notably \fB-quiet\fP, see
.UR index.html#commonoptions
Common Options
.UE
\&), \fBpnmtosgi\fP recognizes the following
command line options:
.TP
\fB-verbatim\fP
Write an uncompressed file.
.TP
\fB-rle\fP (default)
Write a compressed (run length encoded) file.
.TP
\fB-imagename\fP \fIname\fP
Write the string "name" into the imagename field of the header.
The name string is limited to 79 characters.
If no name is given, pnmtosgi writes "no name" into this field.
.UN references
.SH REFERENCES
SGI Image File Format documentation (draft v0.95) by Paul Haeberli (\fIpaul@sgi.com\fP). Available via ftp at
sgi.com:graphics/SGIIMAGESPEC.
.UN seealso
.SH SEE ALSO
.BR "pnm" (1)\c
\&,
.BR "sgitopnm" (1)\c
\&
.UN author
.SH AUTHOR
Copyright (C) 1994 by Ingo Wilken (\fIIngo.Wilken@informatik.uni-oldenburg.de\fP)
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source. The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/pnmtosgi.html
.PP
|