Convert RAW to XBM
Turn RAW images into XBM. The photo is developed with the camera's white balance and automatic brightness into 8-bit sRGB and turned upright.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop RAW files on the dialor turn it to pick what to do
A camera photo as a black and white bitmap.The RAW photo becomes an X11 bitmap, written as C source text.
What you get
One XBM file. The photo is developed with the camera's white balance and automatic brightness into 8-bit sRGB and turned upright, then written as a bitmap in black and white only.
XBM stores the picture as C source text, so you can open the result in a text editor or include it in a C program.
What it leaves behind
Everything between black and white. The output has no grays and no color, so the photo is reduced to two tones.
Lens corrections are not applied. The camera's own picture style is not applied either.
Which files it reads
RAW covers files from Canon, Nikon, Sony, Fujifilm and others, plus DNG. Extensions such as dng, cr2, nef, arw and raf are all read as RAW.
The conversion has no options to set. For other conversions from this format, see every RAW conversion. For other ways to make an XBM, see every XBM conversion.
RAW and XBM.What each format is.
The formats
Camera RAW
Camera RAW files from Canon, Nikon, Sony, Fujifilm and others, plus DNG.
- Extensions
- .dng .cr2 .cr3 .crw .nef .nrw .arw .srf .sr2 .raf .orf .rw2 .rwl .pef .ptx .srw .mrw .3fr .dcr .kdc .erf .mef .mos .iiq .fff .k25
- MIME type
- image
/x -raw - 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 RAW to XBM conversion through the API, for your app or your agent.
$ cv convert photo.dng photo.xbm$ cv convert photo.dng photo.xbmQuestions.What people ask about RAW to XBM.
No. XBM is an X11 bitmap in black and white only, so the output has no color and no grays.
Yes. RAW here includes DNG, along with files from Canon, Nikon, Sony, Fujifilm and others.
Yes. The photo is turned upright when it is developed.
No. Lens corrections are not applied, and neither is the camera's own picture style.