Convert PFM to ICO

Turn PFM images into ICO. One icon holding 256, 128, 64, 48, 32 and 16 pixel squares, 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

An icon from a floating-point image.One ICO file holds six square sizes, made from your PFM image.

  1. What you get

    A single ICO file with six icons inside it. The sizes are 256, 128, 64, 48, 32 and 16 pixels square.

    Each PFM value from 0 to 1 is shown as a shade from black to white. No brightness curve is applied, so the values map straight to the shades.

  2. What changes

    PFM values can go beyond the range of 0 to 1. Values outside that range are clipped, so anything below 0 becomes black and anything above 1 becomes white.

    Icons are square. If your picture is not square, it is centered on a transparent square, and the empty space stays transparent.

  3. Options

    This conversion has no options. The sizes are fixed, and you cannot pick a different set.

    To go the other way, use ICO to PFM.

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

Windows Icon

Windows icons, several sizes in one file.

Extensions
.ico
MIME type
image/vnd.microsoft.icon
Kind
Images

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

terminal
$ cv convert photo.pfm photo.ico
$ cv convert photo.pfm photo.ico

Questions.What people ask about PFM to ICO.

01OF 04

The file holds 256, 128, 64, 48, 32 and 16 pixel squares in one icon.

They are clipped. Values outside the range of 0 to 1 are cut off at the ends, so HDR detail beyond that range is not kept.

Yes. The picture is centered on a transparent square, so it is not stretched.

No. The conversion has no options, and it always writes the same six sizes.

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