fitstopnm, pamcut, pamdeinterlace, pamdice, pammixinterlace, pamtofits, pamundice, pnmtofits: add pages (#12296)
* 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>
2024-02-22 16:23:38 +01: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-01 06:42:14 +03:00
|
|
|
`fitstopnm {{[-i|-image]}} {{z_position}} {{path/to/file.fits}} > {{path/to/output.pnm}}`
|