Convert PNM to FITS

Turn PNM images into FITS. A FITS image with the same pixel values, for astronomy tools.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PNM files on the dialor turn it to pick what to do

A FITS image for astronomy tools.The pixel values stay the same. You get one FITS file from your PNM image.

  1. What you get

    A FITS image with the same pixel values as your PNM file. FITS is the image and table format of astronomy, so the result is ready for tools that read it.

    The conversion gives one file. It accepts PNM images in any of its three forms: PBM, PGM and PPM.

  2. About the formats

    PNM is the simplest raster format. It covers PBM, PGM and PPM images, and its files use the extensions pnm, ppm, pgm and pbm.

    FITS files use the extensions fits and fts. To go the other way, use FITS to PNM.

PNM and FITS.What each format is.

The formats

From · PNM

Portable Anymap

Portable anymap images, the simplest raster format: PBM, PGM and PPM.

Extensions
.pnm .ppm .pgm .pbm
MIME type
image/x-portable-anymap
Kind
Images
To · FITS

FITS

FITS, the image and table format of astronomy.

Extensions
.fits .fts
MIME type
image/fits
Kind
Images

In your code.The same PNM to FITS conversion through the API, for your app or your agent.

terminal
$ cv convert photo.pnm photo.fits
$ cv convert photo.pnm photo.fits

Questions.What people ask about PNM to FITS.

01OF 04

No. The FITS image has the same pixel values as the PNM image.

PBM, PGM and PPM images. All three belong to the PNM format.

One file. It is a single FITS image.

Yes. FITS to PNM converts in that direction.

More conversions.Other ways in and out of PNM and FITS.