Convert PFM to QOI
Turn PFM images into QOI. 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 lossless QOI picture from a float map.The pixels and transparency carry over without loss. Values outside 0 to 1 are clipped.
What you get
One QOI file with the same pixels and transparency as the PFM. QOI is lossless, so the conversion itself loses nothing.
How values are shown
Values from 0 to 1 are shown as black to white. No brightness curve is applied, so the values map straight to the shades.
Values outside the range of 0 to 1 are clipped. HDR images with values beyond that range lose those values.
Depth and disparity maps
Depth and disparity maps often hold values outside 0 to 1. Scale them into that range before you convert, or the clipped areas come out flat.
To go the other way, use QOI to PFM.
PFM and QOI.What each format is.
The formats
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
QOI
The Quite OK Image format: lossless, tiny, and trivial to decode.
- Extensions
- .qoi
- MIME type
- image
/x -qoi - Kind
- Images
In your code.The same PFM to QOI conversion through the API, for your app or your agent.
$ cv convert photo.pfm photo.qoi$ cv convert photo.pfm photo.qoiQuestions.What people ask about PFM to QOI.
No. The QOI picture has the same pixels and transparency, without loss. The only change is that values outside 0 to 1 are clipped.
Values outside 0 to 1 are clipped, so a depth or disparity map needs scaling first. Scale it into that range, then convert it again.
No. Values from 0 to 1 are shown as black to white without a brightness curve.
Yes. The QOI picture has the same pixels and transparency as the PFM.