Home

pnmtosgi(1)

Pnmtosgi User Manual(1)General Commands ManualPnmtosgi User Manual(1)

pnmtosgi - convert a PNM image to a SGI image file

pnmtosgi

[-verbatim|-rle]

[-imagename Name]

[pnmfile]

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.

In addition to the options common to all programs based on libnetpbm (most notably -quiet, see
Common Options
), pnmtosgi recognizes the following command line options:

Write an uncompressed file.
Write a compressed (run length encoded) file.
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.

SGI Image File Format documentation (draft v0.95) by Paul Haeberli ([email protected]). Available via ftp at sgi.com:graphics/SGIIMAGESPEC.

pnm(1), sgitopnm(1)

Copyright (C) 1994 by Ingo Wilken ([email protected])

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
29 January 1994netpbm documentation