home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / NETWORK / netpbm_docs.lzh / NETPBM / DOCS / pnmtofits.1 < prev    next >
Text File  |  1996-11-18  |  2KB  |  43 lines

  1. .TH pnmtofits 1 "5 Dec 1992"
  2. .IX pnmtofits
  3. .SH NAME
  4. pnmtofits - convert a portable anymap into FITS format
  5. .SH SYNOPSIS
  6. .B pnmtofits
  7. .RB [ \-max 
  8. .IR f ]
  9. .RB [ \-min
  10. .IR f ]
  11. .RI [ pnmfile ]
  12. .SH DESCRIPTION
  13. Reads a portable anymap as input.
  14. Produces a FITS (Flexible Image Transport System) file as output.
  15. The resolution of the output file is either 8 bits/pixel,
  16. or 16 bits/pixel, depending on the value of maxval in the input file.
  17. If the input file is a portable bitmap or a portable graymap, the output file
  18. consists of a single plane image (NAXIS = 2). If instead the input file is
  19. a portable pixmap, the output file will consist of a three-plane image
  20. (NAXIS = 3, NAXIS3 = 3).
  21. A full description of the FITS format
  22. can be found in Astronomy & Astrophysics Supplement Series 44 (1981), page 363.
  23. .SH OPTIONS
  24. .PP
  25. Flags 
  26. .B \-min
  27. and 
  28. .B \-max
  29. can be used to set DATAMAX, DATAMIN, BSCALE and BZERO in the FITS
  30. header, but do not cause the data to be rescaled.
  31. .SH "SEE ALSO"
  32. fitstopnm(1), pgm(5)
  33. .SH AUTHOR
  34. Copyright (C) 1989 by Wilson H. Bent (whb@hoh-2.att.com), with
  35. modifications
  36. by Alberto Accomazzi (alberto@cfa.harvard.edu).
  37. .\" Permission to use, copy, modify, and distribute this software and its
  38. .\" documentation for any purpose and without fee is hereby granted, provided
  39. .\" that the above copyright notice appear in all copies and that both that
  40. .\" copyright notice and this permission notice appear in supporting
  41. .\" documentation.  This software is provided "as is" without express or
  42. .\" implied warranty.
  43.