Convert PFM to HEIC

Turn PFM images into HEIC. A HEIC picture at the same size, lossy at quality 60 unless asked otherwise, with values from 0 to 1 shown as black to white without a brightness curve.

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 HEIC picture from floating-point pixels.The image keeps its size and is saved as lossy HEIC at quality 60.

  1. What you get

    One HEIC file at the same width and height as the PFM. Values from 0 to 1 are shown as black to white, without a brightness curve.

    The compression is lossy and the default Quality is 60. Set Quality to change it.

  2. What gets clipped

    Values outside the range 0 to 1 are clipped. A depth or disparity map often holds values beyond that range, so scale it first. Otherwise those areas come out clipped rather than as the values the PFM holds.

  3. Setting Quality

    Quality runs from 1 to 100. A higher value keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    To go the other way, HEIC to PFM turns a HEIC back into a PFM. The result is not the original data, since this conversion is lossy.

PFM and HEIC.What each format is, and the options this conversion takes.

  1. 01 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 60

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 · HEIC

HEIC

The photo format iPhones shoot by default. HEVC-compressed stills, about half the size of JPEG.

Extensions
.heic .heif
MIME type
image/heic
Kind
Images

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

terminal
$ cv convert photo.pfm photo.heic
$ cv convert photo.pfm photo.heic

Questions.What people ask about PFM to HEIC.

01OF 04

Quality 60, unless you set Quality to another value from 1 to 100.

Yes, but scale it first. Values outside 0 to 1 are clipped, so a map with larger values loses them.

Yes. The picture has the same width and height as the PFM.

It rarely helps. Above 90 the file grows quickly while the picture barely changes.

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