2025-03-14 21:59:59 -06:00
|
|
|
# fitstopnm
|
|
|
|
|
|
|
|
|
|
> Convert a Flexible Image Transport System (FITS) file to a PNM image.
|
|
|
|
|
> See also: `pamtofits`.
|
|
|
|
|
> More information: <https://netpbm.sourceforge.net/doc/fitstopnm.html>.
|
|
|
|
|
|
|
|
|
|
- Convert a FITS file to a PNM image:
|
|
|
|
|
|
|
|
|
|
`fitstopnm {{path/to/file.fits}} > {{path/to/output.pnm}}`
|
|
|
|
|
|
|
|
|
|
- Convert the image on the specified position of the third axis in the FITS file:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`fitstopnm {{[-i|-image]}} {{z_position}} {{path/to/file.fits}} > {{path/to/output.pnm}}`
|