mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* fitstopnm, pamcut, pamdeinterlace, pamdice, pammixinterlace, pamtofits, pamundice, pnmtofits: add pages * Apply suggestions from code review Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update pages/common/pamdice.md * Update pages/common/fitstopnm.md Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update pages/common/fitstopnm.md Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update pages/common/pamundice.md --------- Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
13 lines
447 B
Markdown
13 lines
447 B
Markdown
# 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:
|
|
|
|
`fitstopnm -image {{z_position}} {{path/to/file.fits}} > {{path/to/output.pnm}}`
|