Convert FITS to PFM

Turn FITS images into PFM. A Portable Float Map of the first image in the file with the same values as 32-bit floats, blank pixels included, uncompressed.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Float pixels from a FITS image.The first image in the file becomes a PFM with the same values as 32-bit floats.

  1. What you get

    One PFM file holding the first image in the FITS file. Each pixel keeps its value, written as a 32-bit float. Blank pixels are included in the output.

    The file is uncompressed. PFM is a floating-point format in the PNM family, used for HDR and depth maps.

  2. What it leaves behind

    The header keywords are not kept. Values such as the ones that describe the observation or the instrument do not carry over to the PFM.

    Only the first image is converted. If the FITS file holds more than one image, the others are not in the output.

    To go the other way, use PFM to FITS.

FITS and PFM.What each format is.

The formats

From · FITS

FITS

FITS, the image and table format of astronomy.

Extensions
.fits .fts
MIME type
image/fits
Kind
Images
To · PFM

Portable FloatMap

Floating-point pixels in the PNM family, used for HDR and depth maps.

Extensions
.pfm
MIME type
image/x-portable-floatmap
Kind
Images

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

terminal
$ cv convert photo.fits photo.pfm
$ cv convert photo.fits photo.pfm

Questions.What people ask about FITS to PFM.

01OF 04

Yes. The values are the same, stored as 32-bit floats.

No. The header keywords are not kept in the PFM.

They are included in the output.

No. The PFM is written uncompressed.

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