# pamtofits > Convert a Netpbm image to the Flexible Image Transport System (FITS) format. > See also: `fitstopnm`. > More information: . - Convert a Netpbm image to the FITS format: `pamtofits {{path/to/image.pam}} > {{path/to/output.fits}}`