Linux Commands Examples

A great documentation place for Linux commands

sgitopnm

convert a SGI image file to a portable anymap


see also : pnmtosgi

Synopsis

sgitopnm [-verbose] [-channel c] [SGIfile]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

Reads an SGI image file as input. Produces a PGM image for a 2-dimensional (1 channel) input file, and a PPM image for a 3-dimensional (3 or more channels) input file.

Alternatively, produces a PGM image of any one of the channels in the input file.

options

-verbose

Give some information about the SGI image file.

-channel c

Extract channel c of the image as a PGM image. Without this option, sgitopnm extracts the first 3 channels as a PPM image or, if the input has only 1 channel, extracts that as a PGM image, and if the input has 2 channels, fails.

references

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


see also

pnm, pnmtosgi


author

Copyright (C) 1994 by Ingo Wilken (Ingo.Wilken[:at:]informatik[:dot:]uni-oldenburg.de)

How can this site be more helpful to YOU ?


give  feedback