Developer's Daily Unix by Example
  main | java | perl | unix | dev directory | web log
 
 
Main
Unix
Man Pages
   

pnmtosgi

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
BUGS
REFERENCES
SEE ALSO
AUTHOR

NAME

pnmtosgi - convert a portable anymap to a SGI image file

SYNOPSIS

pnmtosgi [-verbatim|-rle] [-imagename Name] [pnmfile]

DESCRIPTION

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.

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.

BUGS

Probably.

REFERENCES

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

SEE ALSO

pnm(5), sgitopnm(1)

AUTHOR

Copyright (C) 1994 by Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)


copyright 1998-2007, devdaily.com, all rights reserved.
devdaily.com, an alvin j. alexander production.