Convert PFM to CUR

Turn PFM images into CUR. 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 Windows cursor from a float image.Values from 0 to 1 become black to white in a CUR file.

  1. What you get

    One CUR file, a Windows cursor made from the picture. The picture can be at most 256 pixels square. The hotspot sits at the top left corner.

  2. How values are mapped

    PFM stores floating-point pixels. Values from 0 to 1 are shown as black to white, with no brightness curve applied. Values outside that range are clipped, so anything below 0 becomes black and anything above 1 becomes white.

    Depth or disparity maps often hold values outside 0 to 1. Scale them into that range first, or the result loses detail where values are clipped.

  3. Before you convert

    The hotspot is the point on the cursor that counts as the click position. Here it is fixed at the top left corner, and this conversion has no option to move it.

    Keep the picture within 256 pixels on each side, since that is the largest size the cursor can be. To go the other way, use CUR to PFM.

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

Windows Cursor

Windows cursors.

Extensions
.cur
MIME type
image/x-win-bitmap
Kind
Images

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

terminal
$ cv convert photo.pfm photo.cur
$ cv convert photo.pfm photo.cur

Questions.What people ask about PFM to CUR.

01OF 04

It is at the top left corner of the picture. There is no option to change it.

Values outside 0 to 1 are clipped to black or white. Scale the depth or disparity values into 0 to 1 before you convert.

The picture can be at most 256 pixels square.

No. Values from 0 to 1 map straight to black through white, with no brightness curve.

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