pnmtosgi - convert a portable anymap to a SGI image file
pnmtosgi [-verbatim|-rle] [-imagename Name] [pnmfile]
Reads a portable anymap as input. 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.
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 (firstname.lastname@example.org). Available via ftp at sgi.com:graphics/SGIIMAGESPEC.
Copyright (C) 1994 by Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)