fitstopnm

convert astronomical FITS images to PNM

TLDR

Convert FITS to PNM
$ fitstopnm [input.fits] > [output.pnm]
Convert specific image in file
$ fitstopnm -image [2] [input.fits] > [output.pnm]

SYNOPSIS

fitstopnm [options] [file]

DESCRIPTION

fitstopnm converts FITS (Flexible Image Transport System) files to PNM format. FITS is the standard astronomical image format used for scientific data interchange.The tool reads multi-dimensional image data from FITS files and converts it to the portable anymap format, making astronomical images accessible to standard image processing tools. Part of the Netpbm toolkit.

PARAMETERS

-image num

Select specific image from multi-image file.
-noraw
Output in plain format.

INSTALL

sudo apt install netpbm
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm

SEE ALSO

pnmtofits(1), pamtofits(1)

RESOURCES

Homepage