.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. Fitstopnm User Manual - Online Linux Manual PageSection : 0
Updated : 02 August 2015
Source : netpbm documentation

NAMEfitstopnm - convert a FITS file into a PNM image .UN synopsis

SYNOPSISfitstopnm [-image=N] [-scanmax] [-printmax] [-min=f] [-max=f] [-omaxval=N [FITSfile] Minimum unique abbreviation of option is acceptable. You may use double hyphens instead of single hyphen to denote options. You may use white space in place of the equals sign to separate an option name from its value. .UN description

DESCRIPTIONThis program is part of Netpbm(1)​. fitstopnm reads a FITS (Flexible Image Transport System) file as input and produces a PPM image if the FITS file consists of 3 image planes (NAXIS = 3 and NAXIS3 = 3), or a PGM image if the FITS file consists of 2 image planes (NAXIS = 2), or if you specify the -image option. Note that the PPM image is highly unlikely to be a true PPM image, as it is not normal for a FITS image to use the third axis as R, G, and B components of the pixels. The most common interpretation when there are 3 axes is that the third one is time. So the image is instead a pseudo-PPM in which the three sample values of a pixel represent something other than color components, for example gray levels at three instants (this variation on PPM is common in programs such as fitstopnm that predate the PAM format). If you work with FITS images with 3 axes, you should probably always use the -image option to avoid getting an unwanted pseudo-PPM image. The program tells you what kind of PNM image it is writing. .UN options

OPTIONSIn addition to the options common to all programs based on libnetpbm (most notably -quiet, see
 Common Options
),
fitstopnm recognizes the following command line options:
-image=N  This is for FITS files with three axes. This option says that the third axis is for multiple images, and the option value N tells which one you want. -omaxval=N  This is the maxval that the output PNM image is to have. By default, the maxval is the least possible to retain all the precision of the FITS input. That means the difference between the highest and lowest sample value in the input. If the values range from -5 to 100, for example, the default maxval would be 106 and each PNM sample value would correspond to one FITS sample value. For a FITS input with floating point sample values, the precision is essentially unlimited, so this is not possible. In that case, the default maxval is simply 255. This option was new in Netpbm 10.39 (June 2007). Before that, the output maxval is always the default. -min=float  -max=float  You can use these options to override the min and max values as read from the FITS header or the image data if the header has no DATAMIN and DATAMAX keywords. -scanmax  Use this option to force the program to scan the data even when the header has DATAMIN and DATAMAX. -printmax  With this option, the program just prints the min and max values and quits without doing its normal job. This is for use in shell programs. Example: eval 'fitstopnm -printmax $filename | \ awk {min = $1; max = $2} \ END {print "min=" min; " max=" max}' .UN notes

NOTES.UN pixelorder

Pixel OrderYou may need to pass the output of fitstopnm through pamflip -topbottom. See pamtofits .UN seealso

SEE ALSO"pamtofits(1)​, "pamflip(1)​, "pgm(1).UN author

AUTHORCopyright (C) 1989 by Jef Poskanzer, with modifications by Daniel Briggs (dbriggs@nrao.edu) and Alberto Accomazzi (alberto@cfa.harvard.edu).

DOCUMENT SOURCEThis manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at http://netpbm.sourceforge.net/doc/fitstopnm.html
0
Johanes Gumabo
Data Size   :   14,239 byte
man-fitstopnm.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 165,275
Visitor ID   :     :  
Visitor IP   :   18.191.28.200   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_escape_sequence|91|fitstopnm.1|1/2|\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. )         (parse_manual_page_|249|fitstopnm.1|1/2|\"|.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. )         (parse_manual_page_|249|fitstopnm.1|11|UN|.UN synopsis )         (parse_manual_page_|249|fitstopnm.1|28|UN|.UN description )         (parse_manual_page_|249|fitstopnm.1|54|UN|.UN options )         (parse_manual_page_|249|fitstopnm.1|123|UN|.UN notes )         (parse_manual_page_|249|fitstopnm.1|126|UN|.UN pixelorder )         (parse_manual_page_|249|fitstopnm.1|137|UN|.UN seealso )         (parse_manual_page_|249|fitstopnm.1|146|UN|.UN author )