pnmtosgi1
Convert a pnm image to a sgi image file
Usage
pnmtosgi
[-verbatim|-rle]
[-imagename Name]
[pnmfile]
Overview
This program is part of Netpbm(1) .
pnmtosgi 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.
Options
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see
Common Options ⟨index.html#commonoptions⟩ ), pnmtosgi recognizes the following command line options:
-
-verbatim -
Write an uncompressed file.
-
-rle (default) -
Write a compressed (run length encoded) file.
-
-imagename name -
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.
References
SGI Image File Format documentation (draft v0.95) by Paul Haeberli ([email protected]). Available via ftp at sgi.com:graphics/SGIIMAGESPEC.
Document source
This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at
-
http://netpbm.sourceforge.net/doc/pnmtosgi.html
Releases
16 releases since Debian 2.0 (Hamm); the text changed 2 times.