MAN page from RedHat Other XITE-3.3-3.i386.rpm
BIFF2PNM
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
biff2pnm - BIFF to Portable Bit/Gray/Pixel Map conversion
SYNTAX
biff2pnm [<option>...] <BIFF-infile> <pnm-outfile>
DESCRIPTION
Read a BIFF-image and convert the first band to one of theformats pbm (portable bitmap), pgm (portable graymap) or ppm(portable pixmap). Write the result to a
pnm-file(pnm: portable anymap).
If the BIFF-image is two-valued, write a pbm-image.If the BIFF-image consists of more than two differentvalues, write a pgm-image.Use option "-rgb" (see below) for rgb images and ppm-format.
The data type of pixelvalue components in pbm/pgm/ppm iseither unsigned char or unsigned short, depending on how thepbm package was compiled. biff2pnmconverts the BIFF band tothe correct pixeltype before conversion to pbm/pgm/ppm. Thepixeltype conversion does not imply any scaling. Values toolarge (or too small) to be represented by the new pixeltype areset to the maximum (or minimum) possible value. A warning isissued to this effect.
User "-" as filename arguments for stdin and stdout.
OPTIONS
- -rgb
- If the BIFF image consists of three bands, assume that theyrepresent red, green and blue color components.Write a ppm-image.
- -a
- Write a plain-format file (ascii), as opposed to a raw-formatone (binary).
SEE ALSO
pnm2biff(1),
XITE(1),
biff2raw(1)
REFERENCES
Documentation for the pbmplus or netpbm free softwarepackages.
AUTHOR
Svein Bøe, Blab, Ifi, UiO
EXAMPLES
biff2pnm monabinary.pnm monabinary.img
ID
$Id: biff2pnm.c,v 1.9 1997/09/01 12:18:07 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- OPTIONS
- SEE ALSO
- REFERENCES
- AUTHOR
- EXAMPLES
- ID
This document was created byman2html,using the manual pages.