Convert PFM to JXL
Turn PFM images into JXL. A JPEG XL picture at the same size, lossy at quality 90 unless asked otherwise, 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
A JPEG XL picture from a float map.Same size as the PFM, lossy at quality 90 unless you choose otherwise.
What you get
One JXL file with the same width and height as the PFM. Values from 0 to 1 appear as black to white, with no brightness curve applied.
The conversion is lossy at quality 90 by default.
What gets clipped
Values outside the range 0 to 1 are clipped. A depth or disparity map often holds values beyond that range, so scale it into 0 to 1 first. Otherwise the parts outside the range come out as plain black or white.
Quality
Set Quality to a number from 1 to 100. Higher values keep more detail and make a bigger file. Above 90 the file grows quickly while the picture barely changes.
To go the other way, use JXL to PFM.
PFM and JXL.What each format is, and the options this conversion takes.
- 01 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 90
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
JPEG XL
JPEG XL, a modern image codec with lossless JPEG recompression and very high quality per byte.
- Extensions
- .jxl
- MIME type
- image
/jxl - Kind
- Images
In your code.The same PFM to JXL conversion through the API, for your app or your agent.
$ cv convert photo.pfm photo.jxl$ cv convert photo.pfm photo.jxlQuestions.What people ask about PFM to JXL.
Yes. The width and height stay the same.
They are clipped. Scale depth or disparity maps into the range 0 to 1 before you convert.
No. It is lossy at quality 90 unless you change Quality.
Not much above 90. The file grows quickly while the picture barely changes.