Convert DDS to PFM

Turn DDS images into PFM. Only the full-size texture is read; the smaller mipmap levels are dropped.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Game textures as float pixels.Each color becomes a 32-bit float in an uncompressed PFM file.

  1. What you get

    One PFM file with each color stored as a 32-bit float. The data is uncompressed.

    PFM is a floating-point format in the PNM family, used for HDR and depth maps. DDS is a texture format for games.

  2. What changes

    The values keep their 8- or 16-bit scale. They run up to 255 or 65535, not from 0 to 1. If a tool expects floats between 0 and 1, it needs to divide the values first.

    Transparency is dropped. The output holds color only, with no alpha channel.

  3. Going back

    To return to a texture, use PFM to DDS. For other conversions from this format, see every DDS conversion.

DDS and PFM.What each format is.

The formats

From · DDS

DirectDraw Surface

DirectDraw Surface textures for games.

Extensions
.dds
MIME type
image/vnd-ms.dds
Kind
Images
To · 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

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

terminal
$ cv convert photo.dds photo.pfm
$ cv convert photo.dds photo.pfm

Questions.What people ask about DDS to PFM.

01OF 04

No. They keep the scale of the source, up to 255 for 8-bit or up to 65535 for 16-bit.

No. Transparency is dropped, and only the color is written.

No. The file is uncompressed, with each color as a 32-bit float.

One file.

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