Convert HDR to XBM
Turn HDR images into XBM. The light is converted to 8-bit sRGB without tone mapping, so values brighter than white are clipped.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop HDR files on the dialor turn it to pick what to do
A black and white bitmap as C source.An HDR image becomes an XBM file, written as text you can include in C code.
What you get
One XBM file. It is an X11 bitmap in black and white only, written as C source text.
Before the bitmap is made, the light in the HDR image is converted to 8-bit sRGB. This happens without tone mapping.
What gets clipped
HDR files hold brightness values beyond white. XBM cannot hold them, and the conversion applies no tone mapping, so values brighter than white are clipped.
The result has two tones, black and white. Any other color or shade in the source is not kept as such.
Going the other way
To turn an XBM file back into an HDR file, use XBM to HDR. The result is an HDR file made from a black and white bitmap.
HDR and XBM.What each format is.
The formats
Radiance HDR
Radiance HDR images with real-world brightness values.
- Extensions
- .hdr
- MIME type
- image
/vnd .radiance - Kind
- Images
X BitMap
X BitMap, monochrome images as C source.
- Extensions
- .xbm
- MIME type
- image
/x -xbitmap - Kind
- Images
In your code.The same HDR to XBM conversion through the API, for your app or your agent.
$ cv convert photo.hdr photo.xbm$ cv convert photo.hdr photo.xbmQuestions.What people ask about HDR to XBM.
XBM is the X BitMap format. It holds monochrome images as C source.
No. Values brighter than white are clipped, because the light is converted to 8-bit sRGB without tone mapping.
No. The XBM is black and white only.
One file.