Convert JNG to PFM
Turn JNG images into PFM. A Portable Float Map with each color as a 32-bit float, uncompressed.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop JNG files on the dialor turn it to pick what to do
A JNG picture as floating-point pixels.The result is one uncompressed PFM file with each color stored as a 32-bit float.
What you get
A Portable FloatMap, the PNM-family format used for HDR and depth maps. Each color is a 32-bit float, and the file is not compressed.
The values keep their 8- or 16-bit scale. They run up to 255 or 65535 rather than from 0 to 1, so a program that expects the 0 to 1 range needs to rescale them.
What is dropped
Transparency. A JNG can carry a PNG-style transparency channel next to its JPEG picture, and the PFM output does not keep it.
To go the other way, use PFM to JNG.
JNG and PFM.What each format is.
The formats
JNG
JPEG Network Graphics, a JPEG picture with a PNG-style transparency channel from the MNG family.
- Extensions
- .jng
- MIME type
- image
/x -jng - 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 JNG to PFM conversion through the API, for your app or your agent.
$ cv convert photo.jng photo.pfm$ cv convert photo.jng photo.pfmQuestions.What people ask about JNG to PFM.
No. They keep the 8- or 16-bit scale of the source, up to 255 or 65535.
No. The PFM is uncompressed, with each color stored as a 32-bit float.
No. The transparency channel of the JNG is dropped.
One file.