Convert PFM to FITS

Turn PFM images into FITS. A FITS image with the same 32-bit float values.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

PFM floats in a FITS image.The 32-bit float values carry over into one FITS file.

  1. What you get

    A FITS image with the same 32-bit float values as the PFM. Each pixel keeps the number it had, so HDR data and depth maps are not squeezed into a smaller range.

    The result is one file, ready for astronomy tools that read FITS.

  2. Going the other way

    To turn a FITS image back into floating-point pixels, use FITS to PFM. For other options with this format, see every PFM conversion.

PFM and FITS.What each format is.

The formats

From · 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
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 PFM to FITS conversion through the API, for your app or your agent.

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

Questions.What people ask about PFM to FITS.

01OF 04

No. The FITS image holds the same 32-bit float values as the PFM.

One file. The PFM becomes a single FITS image.

Yes. PFM is used for HDR and depth maps, and their floating-point values stay as they are in the FITS image.

No. This conversion has no options.

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