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.
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.
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.
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
DirectDraw Surface
DirectDraw Surface textures for games.
- Extensions
- .dds
- MIME type
- image
/vnd -ms .dds - Kind
- Images
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.
$ cv convert photo.dds photo.pfm$ cv convert photo.dds photo.pfmQuestions.What people ask about DDS to PFM.
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.