Bash Cures Cancer
Learn the UNIX/Linux command line

Home     Man Pages     SpamDefeator


				   pnmtofits

   Updated: 5 Dec 1992
   Table Of Contents

NAME

   pnmtofits - convert a PNM image into FITS format

SYNOPSIS

   pnmtofits [-max f] [-min f] [pnmfile]

DESCRIPTION

   This program is part of Netpbm.

   pnmtofits  reads  a	PNM  image  as	input and produces a FITS
(Flexible Image
   Transport System) file as output. The resolution of the output
file is
   either  8 bits/pixel, or 16 bits/pixel, depending on the value
of maxval in
   the	input  file. If the input file is a portable bitmap or	a
portable
   graymap,  the  output  file	consists  of a single plane image
(NAXIS = 2). If
   instead the input file is a portable pixmap, the  output  file
will consist of
   a  three-plane  image  (NAXIS = 3, NAXIS3 = 3). You can find a
full description
   of the FITS format in Astronomy & Astrophysics Supplement  Se-
ries 44 (1981),
   page 363.

OPTIONS

   You	can  use  options  -min and -max to set DATAMAX, DATAMIN,
BSCALE and BZERO
   in the FITS header, but not cause the data to be rescaled.

SEE ALSO

   fitstopnm, pnm

AUTHOR

   Copyright (C) 1989 by Wilson H. Bent (whb@hoh-2.att.com), with
modifications
   by Alberto Accomazzi (alberto@cfa.harvard.edu).
     _________________________________________________________________



Table Of Contents

     * NAME
     * SYNOPSIS
     * DESCRIPTION
     * OPTIONS
     * SEE ALSO
     * AUTHOR





UNIX/Linux commands referenced on this page:
  1. convert
  2. file
  3. as
  4. bitmap
  5. find
  6. fitstopnm