pamtofits

converts PAM/PNM images to FITS format used in astronomy

TLDR

Convert PAM to FITS format
$ pamtofits [input.pam] > [output.fits]

SYNOPSIS

pamtofits [options] [file]

DESCRIPTION

pamtofits converts PAM/PNM images to FITS (Flexible Image Transport System) format used in astronomy. Part of Netpbm toolkit.

PARAMETERS

-max n

Maximum output value.
-min n
Minimum output value.

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

fitstopnm(1), pnmtofits(1)