Convert PFM to MIFF

Turn PFM images into MIFF. Values from 0 to 1 are shown as black to white without a brightness curve, and values outside that range are clipped, so depth or disparity maps need scaling first.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A PFM image as an ImageMagick MIFF file.The MIFF file is written as one file, with the same pixels and transparency as the PFM.

  1. What you get

    An ImageMagick MIFF file. MIFF is ImageMagick's own lossless format, and it keeps every attribute of an image. The pixels and the transparency from the PFM are carried over without loss, as long as the values are within the range described below.

  2. How values are shown

    Values from 0 to 1 are shown as black to white, with no brightness curve applied. Values outside that range are clipped.

    Depth and disparity maps often hold values outside 0 to 1, so they need scaling first. Without scaling, the clipped areas lose their detail.

  3. Going back

    To turn a MIFF file into a PFM, use MIFF to PFM.

PFM and MIFF.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 · MIFF

MIFF

ImageMagick's own lossless format that keeps every attribute of an image.

Extensions
.miff
MIME type
image/x-miff
Kind
Images

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

terminal
$ cv convert photo.pfm photo.miff
$ cv convert photo.pfm photo.miff

Questions.What people ask about PFM to MIFF.

01OF 04

The MIFF file keeps the same pixels and transparency without loss. The exception is values outside 0 to 1, which are clipped.

Yes, but scale it first. Depth and disparity values outside 0 to 1 are clipped, so unscaled maps lose detail.

No. Values from 0 to 1 are shown as black to white without a brightness curve.

One file. The PFM becomes a single MIFF file.

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