Convert PFM to ICNS

Turn PFM images into ICNS. 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 macOS icon from a float image.One ICNS file holds your picture at five sizes, fitted and centered.

  1. What you get

    One ICNS file, the macOS icon format. It holds the picture at 512, 256, 128, 32 and 16 pixels square.

    The picture is fitted and centered in each size on a clear background. The icon is not stretched to fill the square.

  2. How values become pixels

    PFM stores floating-point values. Values from 0 to 1 are shown as black to white, without a brightness curve. Values outside that range are clipped.

  3. Depth and disparity maps

    Depth or disparity maps often hold values outside 0 to 1. Those values are clipped, so scale the map into that range before you convert it. Otherwise the clipped areas show as flat black or white.

    To go the other way, use ICNS to PFM.

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

Apple Icon Image

macOS application icons, one file holding the icon at several sizes.

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

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

terminal
$ cv convert photo.pfm photo.icns
$ cv convert photo.pfm photo.icns

Questions.What people ask about PFM to ICNS.

01OF 04

It contains the picture at 512, 256, 128, 32 and 16 pixels square. All of them are in one file.

They are clipped. Values outside the range from 0 to 1 do not keep their difference from each other.

No. The picture is fitted and centered on a clear background in each size.

You can, but scale it into the range from 0 to 1 first. Values outside that range are clipped.

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