Convert PFM to JBIG
Turn PFM images into JBIG. 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 black and white JBIG1 picture.The image keeps its size and is compressed without loss.
What you get
A JBIG1 picture in black and white at the same width and height as the PFM. The compression is lossless, so the black and white image is stored exactly as it is.
The output is one file.
How values become black and white
Values from 0 to 1 are shown as black to white without a brightness curve. Values outside that range are clipped. Depth or disparity maps need scaling first, so scale them into the range of 0 to 1 before you convert.
Colors and grays are dithered, because JBIG1 holds only black and white. Transparent areas become white.
PFM and JBIG.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
JBIG
JBIG1 bi-level images, the lossless black and white compression of fax machines and document scanners.
- Extensions
- .jbg .jbig .bie
- MIME type
- image
/x -jbig - Kind
- Images
In your code.The same PFM to JBIG conversion through the API, for your app or your agent.
$ cv convert photo.pfm photo.jbg$ cv convert photo.pfm photo.jbgQuestions.What people ask about PFM to JBIG.
Yes, but scale it first. Values outside 0 to 1 are clipped, so a depth or disparity map needs scaling into that range.
Yes. It has the same width and height as the PFM.
They are dithered into black and white. JBIG1 has no gray or color.
There is a conversion for that: JBIG to PFM.