Bash Cures Cancer
Learn the UNIX/Linux command line

Home     Man Pages     SpamDefeator


				    fstopgm

   Updated: 06 April 89
   Table Of Contents

NAME

   fstopgm - convert a Usenix FaceSaver(tm) file into a PGM image

SYNOPSIS

   fstopgm [fsfile]

DESCRIPTION

   This program is part of Netpbm.

   fstopgm reads a Usenix FaceSaver(tm) file as	 input	and  pro-
duces a PGM image
   as output.

   FaceSaver(tm)  files	 sometimes have rectangular pixels. While
fstopgm won't
   re-scale them into square pixels for you, it will give you the
precise
   pamscale   command	that  will  do	the job. Because of this,
reading a
   FaceSaver(tm) image is a two-step process. First you do:
  fstopgm > /dev/null

   This will tell you whether you need to use pamscale. Then  use
one of the
   following pipelines:
  fstopgm | pgmnorm
  fstopgm | pamscale -whatever | pgmnorm

   To go to PBM, you want something more like one of these:
  fstopgm | pnmenlarge 3 | pgmnorm | pgmtopbm
  fstopgm  |  pnmenlarge 3 | pamscale  | pgmnorm | pgm-
topbm

   You	want to enlarge when going to a bitmap because	otherwise
you lose
   information;	 but enlarging by more than 3 does not look good.

   FaceSaver is a registered  trademark	 of  Metron  Computerware
Ltd. of Oakland,
   CA.

SEE ALSO

   pgmtofs, pgm, pgmnorm, pnmenlarge, pamscale, pgmtopbm

AUTHOR

   Copyright (C) 1989 by Jef Poskanzer.
     _________________________________________________________________



Table Of Contents

     * NAME
     * SYNOPSIS
     * DESCRIPTION
     * SEE ALSO
     * AUTHOR


































































UNIX/Linux commands referenced on this page:
  1. convert
  2. file
  3. as
  4. pamscale
  5. more
  6. pnmenlarge
  7. pgmnorm
  8. bitmap
  9. look
  10. pgmtofs